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: volumes:
- ./config:/config - ./config:/config
- ./cache:/cache - ./cache:/cache
- /mnt/data/media:/media - /mnt/hdd/Media:/media
#ports: #ports:
# - "8096:8096/tcp" # - "8096:8096/tcp"

View File

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

View File

@ -12,17 +12,20 @@ services:
- 8080:80 - 8080:80
volumes: volumes:
- app:/var/www/html - 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: environment:
- MYSQL_PASSWORD=${MYSQL_PASSWORD} - MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE} - MYSQL_DATABASE=${MYSQL_DATABASE}
- MYSQL_USER=${MYSQL_USER} - MYSQL_USER=${MYSQL_USER}
- MYSQL_HOST=${MYSQL_HOST} - MYSQL_HOST=${MYSQL_HOST}
networks:
- mariadb_default
- proxy
networks: networks:
default: mariadb_default:
name: mariadb_default
external: true external: true
proxy: proxy:
name: proxy # name: proxy
external: true external: true

View File

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

View File

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

View File

@ -30,12 +30,10 @@ services:
photoprism: photoprism:
container_name: photoprism container_name: photoprism
image: photoprism/photoprism:latest # :preview to test preview builds 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! ## 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: ## 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 ## https://docs.photoprism.app/getting-started/troubleshooting/#fatal-server-errors
# restart: unless-stopped restart: unless-stopped
security_opt: security_opt:
- seccomp:unconfined - seccomp:unconfined
- apparmor:unconfined - apparmor:unconfined
@ -101,9 +99,12 @@ services:
# - "~/Import:/photoprism/import" # *Optional* base folder from which files can be imported to originals # - "~/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) # - "./storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
- /mnt/data/media/Photos/Originals:/photoprism/originals - /mnt/hdd/Media/Photos/Originals:/photoprism/originals
- /mnt/data/media/Photos/Import:/photoprism/import - /mnt/hdd/Media/Photos/Import:/photoprism/import
- /mnt/data/storage/photoprism:/photoprism/storage - /mnt/data/storage/photoprism:/photoprism/storage
networks:
- default
- proxy
## -- (database server section removed; use separate mariadb container) ## -- (database server section removed; use separate mariadb container)
@ -125,3 +126,5 @@ networks:
default: default:
name: mariadb_default name: mariadb_default
external: true external: true
proxy:
external: true

View File

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