feat: implement Docker-based deployment and update environment configuration
Some checks failed
/ build-push (push) Has been cancelled
Some checks failed
/ build-push (push) Has been cancelled
This commit is contained in:
23
docker-compose.yml
Normal file
23
docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
frontend:
|
||||
image: 172.35.0.216/library/vendaweb-portal:latest
|
||||
networks:
|
||||
- simplifique-network
|
||||
environment:
|
||||
- API_URL=${API_URL}
|
||||
- URL_PIX=${URL_PIX}
|
||||
- FIREBASE_API_KEY=${FIREBASE_API_KEY}
|
||||
deploy:
|
||||
replicas: 4
|
||||
update_config:
|
||||
parallelism: 1
|
||||
order: start-first
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
|
||||
networks:
|
||||
|
||||
simplifique-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user