Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.9'
- services:
- redis:
- image: 'docker.io/bitnami/redis:7.0'
- environment:
- - REDIS_PASSWORD=F0navip0123
- - TZ=America/El_Salvador
- ports:
- - '6379:6379'
- volumes:
- - 'redis_data:/bitnami/redis/data'
- security:
- environment:
- - PORT=8581
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/security:latest
- build:
- context: security/.
- dockerfile: Dockerfile
- args:
- - YML=security.yml
- - VERSION=1.0
- - JAR=fonavipo-security-service-0.0.1-RELEASE.jar
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8581:8581"
- core:
- environment:
- - PORT=8583
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/core:latest
- build:
- context: core/.
- dockerfile: Dockerfile
- args:
- - YML=core.yml
- - VERSION=1.0
- - JAR=fonavipo-core-service-0.0.1-RELEASE.jar
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8583:8583"
- notification:
- environment:
- - PORT=8584
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/notification:latest
- build:
- context: notification/.
- dockerfile: Dockerfile
- args:
- - YML=notification.yml
- - VERSION=1.0
- - JAR=fonavipo-notification-service-0.0.1-RELEASE.jar
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8584:8584"
- report:
- environment:
- - PORT=8582
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/report:latest
- build:
- context: report/.
- dockerfile: Dockerfile
- args:
- - YML=report.yml
- - VERSION=1.0
- - JAR=fonavipo-report-service-0.0.1-RELEASE.jar
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8582:8582"
- alert:
- environment:
- - PORT=8585
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/alert:latest
- build:
- context: alert/.
- dockerfile: Dockerfile
- args:
- - YML=alert.yml
- - VERSION=1.0
- - JAR=fonavipo-get-notification-service-0.0.1-RELEASE.jar
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8585:8585"
- catalogue:
- environment:
- - PORT=8586
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/catalogue:latest
- build:
- context: catalogue/.
- dockerfile: Dockerfile
- args:
- - YML=catalogue.yml
- - VERSION=1.0
- - JAR=fonavipo-catalogue-service-0.0.1-RELEASE.jar
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8586:8586"
- website:
- environment:
- - PORT=8579
- - ENVIRONMENT=development
- - TZ=America/El_Salvador
- image: sgd.fonavipo.gob.sv:5000/website:latest
- build:
- context: website/.
- dockerfile: Dockerfile
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "0.5"
- memory: 1024M
- restart_policy:
- condition: on-failure
- ports:
- - "8579:80"
- nginx:
- environment:
- - TZ=America/El_Salvador
- - ENVIRONMENT=development
- - NGINX_HOST=0.0.0.0
- - NGINX_PORT=80
- image: sgd.fonavipo.gob.sv:5000/nginx:prod
- build:
- context: nginx/.
- dockerfile: Dockerfile
- deploy:
- replicas: 1
- resources:
- limits:
- cpus: "1.5"
- memory: 2048M
- restart_policy:
- condition: on-failure
- ports:
- - "9090:9090"
- - "9191:9191"
- volumes:
- redis_data:
- driver: local
Advertisement
Comments
-
- docker-compose build
- docker-compose push
- docker stack deploy -c docker-compose.yaml fonavipo
Add Comment
Please, Sign In to add comment
Advertisement