All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 30s
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
services:
|
|
photography:
|
|
image: git.mischlabs.de/mrdiderot/photography:latest
|
|
container_name: photography-website
|
|
ports:
|
|
- "8090:8090"
|
|
environment:
|
|
- JWT_SECRET=${JWT_SECRET:?set JWT_SECRET in your environment}
|
|
- FULLS_DIR=/app/public/images/fulls
|
|
- THUMBS_DIR=/app/public/images/thumbs
|
|
volumes:
|
|
# Nextcloud-Ordner mit Originalbildern (read-only)
|
|
- /volume1/nextcloud/data/Tom/files/Websitebilder:/app/public/images/fulls:ro
|
|
# Thumbnails werden automatisch generiert und hier gespeichert
|
|
- thumbs:/app/public/images/thumbs
|
|
# SQLite Database (persistent)
|
|
- database:/app/data
|
|
restart: unless-stopped
|
|
|
|
# Watchtower: Prueft automatisch auf neue Docker-Images und aktualisiert Container
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
# Registry Login von deinem NAS uebernehmen, um private Images lesen zu duerfen
|
|
- /volume2/docker/watchtower/config.json:/config.json:ro
|
|
environment:
|
|
- WATCHTOWER_CLEANUP=true
|
|
- WATCHTOWER_POLL_INTERVAL=300
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
thumbs:
|
|
database:
|