2022-04-20 20:32:07 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
2022-05-16 13:30:51 +00:00
|
|
|
app_proxy:
|
|
|
|
environment:
|
2022-12-04 20:18:22 +00:00
|
|
|
APP_HOST: photoprism_web_1
|
|
|
|
APP_PORT: 8087
|
2022-07-01 12:30:48 +00:00
|
|
|
# These endpoints are protected by HTTP Basic Auth by Photoprism.
|
|
|
|
# More details here: https://docs.photoprism.app/user-guide/sync/webdav/#server-url
|
|
|
|
PROXY_AUTH_WHITELIST: "/originals/*,/import/*"
|
2022-12-04 20:18:22 +00:00
|
|
|
|
2022-04-20 20:32:07 +00:00
|
|
|
web:
|
2022-11-08 05:32:23 +00:00
|
|
|
image: photoprism/photoprism:221105-bullseye@sha256:52f2cfb9f46aec44dd2dec87c78ca121cc6fd174510db1ac371072c527f86558
|
2022-04-20 20:32:07 +00:00
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: "1m"
|
|
|
|
volumes:
|
|
|
|
- "${APP_DATA_DIR}/originals:/photoprism/originals"
|
|
|
|
- "${APP_DATA_DIR}/storage:/photoprism/storage"
|
|
|
|
environment:
|
|
|
|
PHOTOPRISM_ADMIN_PASSWORD: "${APP_PASSWORD}"
|
|
|
|
PHOTOPRISM_ORIGINALS_LIMIT: 10000
|
|
|
|
PHOTOPRISM_HTTP_COMPRESSION: "gzip"
|
2022-12-04 20:18:22 +00:00
|
|
|
PHOTOPRISM_HTTP_PORT: 8087
|
2022-04-20 20:32:07 +00:00
|
|
|
PHOTOPRISM_DATABASE_DRIVER: "mysql"
|
2022-12-04 20:18:22 +00:00
|
|
|
PHOTOPRISM_DATABASE_SERVER: "photoprism_db_1:3306"
|
2022-04-20 20:32:07 +00:00
|
|
|
PHOTOPRISM_DATABASE_NAME: "photoprism"
|
|
|
|
PHOTOPRISM_DATABASE_USER: "photoprism"
|
|
|
|
PHOTOPRISM_DATABASE_PASSWORD: "photoprism"
|
2022-12-04 20:18:22 +00:00
|
|
|
PHOTOPRISM_SITE_URL: "http://${APP_DOMAIN}:8087/"
|
2022-04-20 20:32:07 +00:00
|
|
|
PHOTOPRISM_SITE_TITLE: "PhotoPrism"
|
|
|
|
PHOTOPRISM_SITE_CAPTION: "Digital Asset Management"
|
|
|
|
PHOTOPRISM_SITE_DESCRIPTION: ""
|
|
|
|
PHOTOPRISM_SITE_AUTHOR: ""
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10.5.12@sha256:dfcba5641bdbfd7cbf5b07eeed707e6a3672f46823695a0d3aba2e49bbd9b1dd
|
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
stop_grace_period: "1m"
|
|
|
|
command: mysqld --transaction-isolation=READ-COMMITTED --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --max-connections=512 --innodb-rollback-on-timeout=OFF --innodb-lock-wait-timeout=50
|
|
|
|
volumes:
|
|
|
|
- "${APP_DATA_DIR}/database:/var/lib/mysql"
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: "photoprism"
|
|
|
|
MYSQL_DATABASE: "photoprism"
|
|
|
|
MYSQL_USER: "photoprism"
|
|
|
|
MYSQL_PASSWORD: "photoprism"
|