You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.4 KiB
YAML

version: '3.6'
services:
d4s-vre-manager-pep:
image: nginx:stable-alpine
networks:
- cdn-network
deploy:
mode: replicated
replicas: 2
restart_policy:
condition: on-failure
delay: 10s
window: 120s
configs:
- source: vre_manager_pep_conf
target: /etc/nginx/templates/default.conf.template
- source: vre_manager_pep_baseconf
target: /etc/nginx/nginx.conf
- source: vre_manager_pep
target: /etc/nginx/pep.js
- source: vre_manager_pepconfig
target: /etc/nginx/config.js
d4s-vre-manager:
image: nubisware/d4s-vre-manager
networks:
- cdn-network
deploy:
mode: replicated
replicas: 2
restart_policy:
condition: on-failure
delay: 10s
window: 200s
configs:
- source: vre_manager_conf
target: /opt/app/service/conf/d4s-vre-manager.json
- source: vre_manager_auth_conf
target: /opt/app/service/conf/auth.json
networks:
cdn-network:
configs:
vre_manager_pep_conf:
file: ./conf/pep/default.conf
vre_manager_pep_baseconf:
file: ./conf/pep/nginx.conf
vre_manager_pep:
file: ./conf/pep/pep.js
vre_manager_pepconfig:
file: ./conf/pep/config.js
vre_manager_conf:
file: ./conf/service/d4s-vre-manager.json
vre_manager_auth_conf:
file: ./conf/service/auth.json