fix
This commit is contained in:
parent
92ad6ce85b
commit
10b044a678
|
@ -0,0 +1,66 @@
|
|||
---
|
||||
#volumes:
|
||||
# bind9_logs:
|
||||
# driver: local
|
||||
# bind9_cache:
|
||||
# driver: local
|
||||
# primary_var_lib_bind:
|
||||
# driver: local
|
||||
# secondary_var_lib_bind:
|
||||
# driver: local
|
||||
|
||||
networks:
|
||||
pub_dns_net:
|
||||
external: true
|
||||
|
||||
services:
|
||||
primary:
|
||||
container_name: ns1
|
||||
build:
|
||||
dockerfile: Dockerfile.primary
|
||||
<<<<<<< HEAD
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240915.1.1
|
||||
=======
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-primary:240625.1.1
|
||||
>>>>>>> 94cf43d (image)
|
||||
restart: always
|
||||
user: root
|
||||
environment:
|
||||
- TZ='America/Indianapolis'
|
||||
- BIND9_USER=bind
|
||||
#volumes:
|
||||
#- bind9_logs:/var/named/log
|
||||
#- primary_var_lib_bind:/var/lib/bind
|
||||
#- ./primary/var/lib/bind:/var/lib/bind:rw
|
||||
#- ./primary/etc/bind/named.conf:/etc/bind/named.conf
|
||||
#- primary/var/lib/bind:/tmp/bind
|
||||
networks:
|
||||
pub_dns_net:
|
||||
ipv4_address: 10.99.153.241
|
||||
# command: [ "cp", "-rv", "/tmp/bind/*", "/var/lib/bind/" ]
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
secondary:
|
||||
container_name: ns2
|
||||
build:
|
||||
dockerfile: Dockerfile.secondary
|
||||
image: docker-registry1.in.thelinuxpro.net:5000/tlp/bind9-secondary:240627.1.4
|
||||
restart: always
|
||||
user: root
|
||||
environment:
|
||||
- TZ='America/Indianapolis'
|
||||
- BIND9_USER=bind
|
||||
#volumes:
|
||||
#- bind9_logs:/var/named/log
|
||||
#- secondary_var_lib_bind:/var/lib/bind
|
||||
#- ./secondary/var/lib/bind:/var/lib/bind:rw
|
||||
#- ./secondary/etc/bind/named.conf:/etc/bind/named.conf:ro
|
||||
#- secondary/var/lib/bind:/tmp/bind
|
||||
networks:
|
||||
pub_dns_net:
|
||||
ipv4_address: 10.99.153.242
|
||||
#command: [ "cp", "-rv", "/tmp/bind/*", "/var/lib/bind/" ]
|
||||
deploy:
|
||||
placement:
|
||||
constraints: [node.role == worker]
|
Loading…
Reference in New Issue