first commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-05-01 14:01:04 +02:00
parent fce3bd461a
commit b2b0f55b62
25 changed files with 138 additions and 134 deletions

View File

@ -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: