mirror of
https://github.com/Cian-H/I-Form_Research_Server_Stack.git
synced 2025-12-23 06:32:07 +00:00
added persistence for coredns
This commit is contained in:
@@ -44,7 +44,7 @@ services:
|
|||||||
- "53:53"
|
- "53:53"
|
||||||
- "53:53/udp"
|
- "53:53/udp"
|
||||||
volumes:
|
volumes:
|
||||||
- coredns:/etc/coredns
|
- networks_coredns:/etc/coredns
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
restart_policy:
|
restart_policy:
|
||||||
@@ -78,3 +78,9 @@ volumes:
|
|||||||
type: nfs
|
type: nfs
|
||||||
device: ":volume1/letsencrypt"
|
device: ":volume1/letsencrypt"
|
||||||
o: "addr=192.168.1.237,rw,noatime,rsize=8192,wsize=8192,tcp,timeo=14,nfsvers=4"
|
o: "addr=192.168.1.237,rw,noatime,rsize=8192,wsize=8192,tcp,timeo=14,nfsvers=4"
|
||||||
|
networks_coredns:
|
||||||
|
driver: local
|
||||||
|
driver_opts:
|
||||||
|
type: nfs
|
||||||
|
device: ":volume1/coredns"
|
||||||
|
o: "addr=192.168.1.237,rw,noatime,rsize=8192,wsize=8192,tcp,timeo=14,nfsvers=4"
|
||||||
Reference in New Issue
Block a user