Docker: migrate from bind mounts to named volumes
This commit is contained in:
parent
8b39e5912b
commit
37366f5652
18 changed files with 143 additions and 62 deletions
|
@ -1,10 +1,10 @@
|
|||
[services]
|
||||
[volumes]
|
||||
config = {}
|
||||
|
||||
[services.mumble]
|
||||
container_name = "mumble"
|
||||
image = "phlak/mumble"
|
||||
user = "1000:985"
|
||||
environment = ["TZ=Europe/Helsinki"]
|
||||
network_mode = "host"
|
||||
volumes = ["/docker/mumble:/etc/mumble", "/etc/localtime:/etc/localtime:ro"]
|
||||
volumes = ["config:/etc/mumble", "/etc/localtime:/etc/localtime:ro"]
|
||||
restart = "unless-stopped"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue