31 lines
547 B
YAML
31 lines
547 B
YAML
version: '3.6'
|
|
|
|
services:
|
|
|
|
pep:
|
|
image: nginx:stable-alpine
|
|
networks:
|
|
- conductor-network
|
|
ports:
|
|
- "80:80"
|
|
deploy:
|
|
replicas: 1
|
|
restart_policy:
|
|
condition: on-failure
|
|
delay: 10s
|
|
window: 120s
|
|
configs:
|
|
- source: nginxconf
|
|
target: /etc/nginx/templates/default.conf.template
|
|
- source: nginxbaseconf
|
|
target: /etc/nginx/nginx.conf
|
|
|
|
networks:
|
|
conductor-network:
|
|
|
|
configs:
|
|
nginxconf:
|
|
file: ./nginx.default.conf
|
|
nginxbaseconf:
|
|
file: ./nginx.conf
|