mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 15:14:22 +08:00
Update docker-compose.yml (#2394)
restart: always for turn and netmaker Otherwise it will not survive a reboot.
This commit is contained in:
parent
e286adda77
commit
834cc893ab
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,7 @@ services:
|
||||||
container_name: netmaker
|
container_name: netmaker
|
||||||
image: gravitl/netmaker:$SERVER_IMAGE_TAG
|
image: gravitl/netmaker:$SERVER_IMAGE_TAG
|
||||||
env_file: ./netmaker.env
|
env_file: ./netmaker.env
|
||||||
restart: on-failure
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- dnsconfig:/root/config/dnsconfig
|
- dnsconfig:/root/config/dnsconfig
|
||||||
- sqldata:/root/data
|
- sqldata:/root/data
|
||||||
|
@ -96,6 +96,7 @@ services:
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
- turn_server:/etc/config
|
- turn_server:/etc/config
|
||||||
|
restart: always
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data: { } # runtime data for caddy
|
caddy_data: { } # runtime data for caddy
|
||||||
|
|
Loading…
Add table
Reference in a new issue