You can not 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
62 lines
1.4 KiB
1 year ago
|
version: '3.6'
|
||
|
|
||
|
services:
|
||
|
|
||
|
d4s-navigation-pep:
|
||
|
image: nginx:stable-alpine
|
||
|
networks:
|
||
|
- cdn-network
|
||
|
deploy:
|
||
|
mode: replicated
|
||
|
replicas: 2
|
||
|
restart_policy:
|
||
|
condition: on-failure
|
||
|
delay: 10s
|
||
|
window: 120s
|
||
|
configs:
|
||
|
- source: navigation_pep_nginx_conf
|
||
|
target: /etc/nginx/templates/default.conf.template
|
||
|
- source: navigation_pep_nginx_baseconf
|
||
|
target: /etc/nginx/nginx.conf
|
||
|
- source: navigation_pep
|
||
|
target: /etc/nginx/pep.js
|
||
|
- source: navigation_pepconfig
|
||
|
target: /etc/nginx/config.js
|
||
|
|
||
|
|
||
|
d4s-navigation:
|
||
|
image: nubisware/d4s-navigation
|
||
|
networks:
|
||
|
- cdn-network
|
||
|
deploy:
|
||
|
mode: replicated
|
||
|
replicas: 2
|
||
|
restart_policy:
|
||
|
condition: on-failure
|
||
|
delay: 10s
|
||
|
window: 200s
|
||
|
configs:
|
||
|
- source: navigation_conf
|
||
|
target: /opt/app/service/conf/d4s-navigation.json
|
||
|
- source: navigation_auth_conf
|
||
|
target: /opt/app/service/conf/auth.json
|
||
|
|
||
|
networks:
|
||
|
cdn-network:
|
||
|
|
||
|
configs:
|
||
|
navigation_pep_nginx_conf:
|
||
|
file: ./conf/pep/default.conf
|
||
|
navigation_pep_nginx_baseconf:
|
||
|
file: ./conf/pep/nginx.conf
|
||
|
navigation_pep:
|
||
|
file: ./conf/pep/pep.js
|
||
|
navigation_pepconfig:
|
||
|
file: ./conf/pep/config.js
|
||
|
|
||
|
navigation_conf:
|
||
|
file: ./conf/service/d4s-navigation.json
|
||
|
navigation_auth_conf:
|
||
|
file: ./conf/service/auth.json
|
||
|
|