added photoprism

This commit is contained in:
msnie
2024-02-27 09:44:55 +01:00
parent 95eb159d8e
commit c99ce7f890
+6 -6
View File
@@ -44,8 +44,8 @@ services:
PHOTOPRISM_ADMIN_PASSWORD: "Lukmignuind1" # initial admin password (8-72 characters) PHOTOPRISM_ADMIN_PASSWORD: "Lukmignuind1" # initial admin password (8-72 characters)
PHOTOPRISM_AUTH_MODE: "password" # authentication mode (public, password) PHOTOPRISM_AUTH_MODE: "password" # authentication mode (public, password)
PHOTOPRISM_SITE_URL: "https://prism.knast.cc" # server URL in the format "http(s)://domain.name(:port)/(path)" PHOTOPRISM_SITE_URL: "https://prism.knast.cc" # server URL in the format "http(s)://domain.name(:port)/(path)"
PHOTOPRISM_DISABLE_TLS: "false" # disables HTTPS/TLS even if the site URL starts with https:// and a certificate is available # PHOTOPRISM_DISABLE_TLS: "false" # disables HTTPS/TLS even if the site URL starts with https:// and a certificate is available
PHOTOPRISM_DEFAULT_TLS: "true" # defaults to a self-signed HTTPS/TLS certificate if no other certificate is available # PHOTOPRISM_DEFAULT_TLS: "true" # defaults to a self-signed HTTPS/TLS certificate if no other certificate is available
PHOTOPRISM_ORIGINALS_LIMIT: 5000 # file size limit for originals in MB (increase for high-res video) PHOTOPRISM_ORIGINALS_LIMIT: 5000 # file size limit for originals in MB (increase for high-res video)
PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip)
PHOTOPRISM_LOG_LEVEL: "info" # log level: trace, debug, info, warning, error, fatal, or panic PHOTOPRISM_LOG_LEVEL: "info" # log level: trace, debug, info, warning, error, fatal, or panic
@@ -79,10 +79,10 @@ services:
- "/home/null/shares/disk1/backups/photoprism/storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE) - "/home/null/shares/disk1/backups/photoprism/storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
labels: labels:
- traefik.enable=true - traefik.enable=true
- "traefik.http.routers.prism.entrypoints=websecure" - "traefik.http.routers.photoprism.entrypoints=websecure"
- "traefik.http.routers.prism.rule=Host(`prism.$DOMAIN_NAME`)" - "traefik.http.routers.photoprism.rule=Host(`prism.$DOMAIN_NAME`)"
- "traefik.http.routers.prism.tls.certresolver=letsencr" - "traefik.http.routers.photoprism.tls.certresolver=letsencr"
- "traefik.http.services.prism.loadbalancer.server.port=2342" - "traefik.http.services.photoprism.loadbalancer.server.port=2342"
mariadb: mariadb:
image: mariadb:11 image: mariadb:11
restart: unless-stopped restart: unless-stopped