This commit is contained in:
@ -6,7 +6,7 @@ services:
|
||||
|
||||
photoview:
|
||||
image: viktorstrate/photoview:2
|
||||
restart: unless-stopped
|
||||
restart: ${RST-unless-stopped}
|
||||
ports:
|
||||
- "8000:80"
|
||||
depends_on:
|
||||
@ -36,15 +36,15 @@ services:
|
||||
# You can mount multiple paths, if your photos are spread across multiple directories.
|
||||
- ./photos_path:/photos:ro
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
|
||||
|
||||
photoview_db:
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
restart: unless-stopped
|
||||
image: lscr.io/linuxserver/mariadb:${tag-latest}
|
||||
restart: ${RST-unless-stopped}
|
||||
environment:
|
||||
- TZ="${TZ-Europe/Amsterdam}"
|
||||
- PGID="${PGID-1000}"
|
||||
- PUID="${PUID-1000}"
|
||||
- TZ=${TZ-Europe/Amsterdam}
|
||||
- PGID=${PGID-1000}
|
||||
- PUID=${PUID-1000}
|
||||
- MYSQL_DATABASE=photoview
|
||||
- MYSQL_USER=photoview
|
||||
- MYSQL_PASSWORD=photosecret
|
||||
@ -52,7 +52,7 @@ services:
|
||||
volumes:
|
||||
- photoview_db_data:/config
|
||||
labels:
|
||||
- com.centurylinklabs.watchtower.enable=true
|
||||
- com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
|
||||
|
||||
volumes:
|
||||
photoview_db_data:
|
||||
|
Reference in New Issue
Block a user