Updated paths to new local mountpoint

This commit is contained in:
Thord Johansson 2023-06-19 18:21:24 +02:00
parent 880a257de1
commit 6ef149afe7
7 changed files with 35 additions and 30 deletions

View File

@ -9,7 +9,7 @@ services:
volumes:
- ./config:/config
- ./cache:/cache
- /mnt/data/media:/media
- /mnt/hdd/Media:/media
#ports:
# - "8096:8096/tcp"

View File

@ -5,8 +5,8 @@ services:
container_name: lighttpd
image: sebp/lighttpd
volumes:
- /home/thordj/web:/var/www/localhost/htdocs
- ./htdocs:/var/www/localhost/htdocs
- ./config:/etc/lighttpd
ports:
- "80:80"
- "8088:80"
tty: true

View File

@ -12,17 +12,20 @@ services:
- 8080:80
volumes:
- app:/var/www/html
- /mnt/data/nextcloud:/var/www/html/data
- /mnt/data/nextcloud/files:/var/www/html/data
- /mnt/data/nextcloud/config:/var/www/html/config
environment:
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER}
- MYSQL_HOST=${MYSQL_HOST}
networks:
- mariadb_default
- proxy
networks:
default:
name: mariadb_default
mariadb_default:
external: true
proxy:
name: proxy
# name: proxy
external: true

View File

@ -8,10 +8,11 @@ networks:
services:
reverse-proxy:
container_name: nginx-proxy-manager
image: "jc21/nginx-proxy-manager:latest"
restart: always
ports:
- "82:80"
- "80:80"
- "443:443"
- "81:81"
environment:

View File

@ -1,23 +1,18 @@
version: '3.3'
volumes:
data:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/storage/owncast"
services:
run:
volumes:
- type: volume
source: data
target: /app/data
volume:
nocopy: true
- /mnt/data/storage/owncast:/app/data
ports:
- '8085:8080'
- '1935:1935'
image: gabekangas/owncast:latest
restart: always
container_name: owncast
networks:
- proxy
networks:
proxy:
external: true

View File

@ -30,12 +30,10 @@ services:
photoprism:
container_name: photoprism
image: photoprism/photoprism:latest # :preview to test preview builds
#depends_on:
# - mariadb
## Don't enable automatic restarts until PhotoPrism has been properly configured and tested!
## If the service gets stuck in a restart loop, this points to a memory, filesystem, network, or database issue:
## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
# restart: unless-stopped
restart: unless-stopped
security_opt:
- seccomp:unconfined
- apparmor:unconfined
@ -101,9 +99,12 @@ services:
# - "~/Import:/photoprism/import" # *Optional* base folder from which files can be imported to originals
# - "./storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
- /mnt/data/media/Photos/Originals:/photoprism/originals
- /mnt/data/media/Photos/Import:/photoprism/import
- /mnt/hdd/Media/Photos/Originals:/photoprism/originals
- /mnt/hdd/Media/Photos/Import:/photoprism/import
- /mnt/data/storage/photoprism:/photoprism/storage
networks:
- default
- proxy
## -- (database server section removed; use separate mariadb container)
@ -125,3 +126,5 @@ networks:
default:
name: mariadb_default
external: true
proxy:
external: true

View File

@ -16,14 +16,17 @@ services:
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
- '/mnt/data/storage/pihole/etc-pihole:/etc/pihole'
- '/mnt/data/storage/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
#cap_add:
# - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
networks:
- proxy
networks:
default:
external: true
name: proxy
default:
external: true
proxy:
external: true