Docker: migrate from bind mounts to named volumes
parent
ee97d8a590
commit
944de98b4a
@ -0,0 +1,33 @@
|
|||||||
|
volumes:
|
||||||
|
config: {}
|
||||||
|
cache: {}
|
||||||
|
media:
|
||||||
|
external: true
|
||||||
|
nextcloud_data:
|
||||||
|
external: true
|
||||||
|
services:
|
||||||
|
jellyfin:
|
||||||
|
image: jellyfin/jellyfin
|
||||||
|
container_name: jellyfin
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Helsinki
|
||||||
|
ports:
|
||||||
|
- 8096:8096
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
- authentik
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- config:/config
|
||||||
|
- cache:/cache
|
||||||
|
- media:/media
|
||||||
|
- /mnt/Storage/docker/nextcloud_data/FunctionalHacker/files/Media/Music:/media/Music
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
devices:
|
||||||
|
- /dev/dri/renderD128:/dev/dri/renderD128
|
||||||
|
- /dev/dri/card1:/dev/dri/card0
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
authentik:
|
||||||
|
external: true
|
@ -1,10 +1,10 @@
|
|||||||
[services]
|
[volumes]
|
||||||
|
config = {}
|
||||||
|
|
||||||
[services.mumble]
|
[services.mumble]
|
||||||
container_name = "mumble"
|
container_name = "mumble"
|
||||||
image = "phlak/mumble"
|
image = "phlak/mumble"
|
||||||
user = "1000:985"
|
|
||||||
environment = ["TZ=Europe/Helsinki"]
|
environment = ["TZ=Europe/Helsinki"]
|
||||||
network_mode = "host"
|
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"
|
restart = "unless-stopped"
|
||||||
|
Loading…
Reference in New Issue