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.

82 lines
1.7 KiB
YAML

2 years ago
version: '3.6'
services:
cdn-router-dev:
image: nginx:stable-alpine
networks:
- cdn-local_cdn-network
2 years ago
ports:
- "80:80"
deploy:
mode: replicated
replicas: 2
restart_policy:
condition: on-failure
delay: 10s
window: 120s
configs:
- source: cdn-local_router_conf
2 years ago
target: /etc/nginx/templates/default.conf.template
cdn-pep:
image: nginx:stable-alpine
networks:
- cdn-local_cdn-network
2 years ago
deploy:
mode: replicated
replicas: 2
restart_policy:
condition: on-failure
delay: 10s
window: 120s
configs:
- source: cdn-local_cdn_pep_conf
2 years ago
target: /etc/nginx/templates/default.conf.template
- source: cdn-local_cdn_pep_baseconf
2 years ago
target: /etc/nginx/nginx.conf
- source: cdn-local_cdn_pep
2 years ago
target: /etc/nginx/pep.js
- source: cdn-local_cdn_pepconfig
2 years ago
target: /etc/nginx/config.js
d4s-cdn:
image: nubisware/d4s-cdn
networks:
- cdn-local_cdn-network
2 years ago
deploy:
mode: replicated
replicas: 2
restart_policy:
condition: on-failure
delay: 10s
window: 200s
configs:
- source: cdn-local_cdn_conf
target: /opt/app/cdn/conf/d4s-cdn.json
- source: cdn-local_cdn_auth_conf
target: /opt/app/cdn/conf/auth.json
2 years ago
networks:
cdn-local_cdn-network:
2 years ago
configs:
cdn-local_router_conf:
external: true
2 years ago
cdn-local_cdn_pep_conf:
external: true
cdn-local_cdn_pep_baseconf:
external: true
cdn-local_cdn_pep:
external: true
cdn-local_cdn_pepconfig:
external: true
2 years ago
cdn-local_cdn_conf:
external: true
cdn-local_cdn_auth_conf:
external: true
2 years ago