nextcloud and gerbera docker-compose files.

This commit is contained in:
2020-11-29 23:55:31 +00:00
parent 6d1f23bda5
commit b25a9090e1
3 changed files with 18 additions and 15 deletions

View File

@@ -1,15 +0,0 @@
docker run \
-d \
--net=host \
--name gerbera \
--hostname gerbera \
--restart always \
--volume /srv/gerbera/config:/root/.config \
--volume /srv/gerbera/books:/books \
--volume /srv/gerbera/music:/music \
--volume /srv/gerbera/video:/video \
--volume /mnt/hdd/download/movies:/hdd_video2 \
--volume /mnt/hdd2/public/movies:/hdd_video \
--volume /mnt/hdd/public/music:/hdd_music \
gerbera/gerbera

View File

@@ -0,0 +1,17 @@
version: '2'
services:
gerbera:
hostname: gerbera
image: gerbera/gerbera:latest
network_mode: host
volumes:
- /srv/nextcloud:/var/www/html
- gerbera:/root/.config
- /srv/gerbera/music:/music
- /mnt/hdd2_2/movies:/video
restart: always
volumes:
gerbera:

View File

@@ -7,6 +7,7 @@ services:
- 8090:80 - 8090:80
volumes: volumes:
- /srv/nextcloud:/var/www/html - /srv/nextcloud:/var/www/html
- nextcloud:/var/www/html2
restart: always restart: always
volumes: volumes: