OPS
commit
968c50f089
|
@ -0,0 +1,62 @@
|
|||
version: "3.7"
|
||||
|
||||
networks:
|
||||
mother:
|
||||
external: true
|
||||
|
||||
|
||||
services:
|
||||
dns:
|
||||
image: registry.vnfco.ir/library/ameersbn/bind:9.16.1-20200524
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
update_config:
|
||||
parallelism: 1
|
||||
delay: 10s
|
||||
order: start-first
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 5s
|
||||
max_attempts: 3
|
||||
window: 120s
|
||||
volumes:
|
||||
- /volume/dns:/data
|
||||
environment:
|
||||
- ROOT_PASSWORD=9197279882
|
||||
- WEBMIN_INIT_SSL_ENABLED=false
|
||||
ports:
|
||||
- "10000:10000/tcp"
|
||||
- "53:53/tcp"
|
||||
networks:
|
||||
- mother
|
||||
|
||||
# nginx:
|
||||
# image: registry.vnfco.ir/library/ameersbn/bind:9.16.1-20200524
|
||||
# deploy:
|
||||
# placement:
|
||||
# constraints:
|
||||
# - node.label.master==true
|
||||
# update_config:
|
||||
# parallelism: 1
|
||||
# delay: 10s
|
||||
# order: start-stop
|
||||
# restart_policy:
|
||||
# condition: any
|
||||
# delay: 5s
|
||||
# max_attempts: 3
|
||||
# window: 120s
|
||||
# volumes:
|
||||
# - /volume/dns:/data
|
||||
# environment:
|
||||
# - ROOT_PASSWORD=9197279882
|
||||
# ports:
|
||||
# - "10000:10000/tcp"
|
||||
# - "53:53/tcp"
|
||||
# - "53:53/udp"
|
||||
# networks:
|
||||
# - mother
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue