# Permanent storage for settings, index & sidecar files (DON'T REMOVE):Ĭommand: 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 # Mounting an import folder is optional (see docs): # - "/mnt/Family:/photoprism/originals/Family" # :/photoprism/originals/ # Multiple folders can be indexed by mounting them as sub-folders of /photoprism/originals: # Uncomment and edit the following line to set a specific user / group id (native):
# support this natively (see next example): # You may optionally set a user / group id using environment variables if your Docker version or NAS does not PHOTOPRISM_SITE_CAPTION: "Browse Your Life" PHOTOPRISM_SITE_URL: " # Public PhotoPrism URL
#PHOTOPRISM_DATABASE_PASSWORD: "xxxx" # MariaDB database user password #PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB database user name #PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB database schema name #PHOTOPRISM_DATABASE_SERVER: "mariadb:3306" # MariaDB database server (hostname:port) #PHOTOPRISM_DATABASE_DRIVER: "mysql" # Use MariaDB (or MySQL) instead of SQLite for improved performance PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server PHOTOPRISM_UPLOAD_NSFW: "true" # Allow uploads that MAY be offensive PHOTOPRISM_DETECT_NSFW: "false" # Flag photos as private that MAY be offensive (requires TensorFlow) PHOTOPRISM_DARKTABLE_PRESETS: "false" # Enables Darktable presets and disables concurrent RAW conversion PHOTOPRISM_DISABLE_TENSORFLOW: "false" # Disables using TensorFlow for image classification PHOTOPRISM_DISABLE_SETTINGS: "false" # Disables Settings in Web UI PHOTOPRISM_DISABLE_WEBDAV: "false" # Disables built-in WebDAV server PHOTOPRISM_EXPERIMENTAL: "false" # Enables experimental features PHOTOPRISM_READONLY: "false" # Don't modify originals directory (reduced functionality) PHOTOPRISM_PUBLIC: "false" # No authentication required (disables password protection) PHOTOPRISM_DEBUG: "false" # Run in debug mode (shows additional log messages) PHOTOPRISM_HTTP_COMPRESSION: "gzip" # Improves transfer speed and bandwidth utilization (none or gzip) PHOTOPRISM_HTTP_PORT: 2342 # Built-in Web server port PHOTOPRISM_ADMIN_PASSWORD: "xxxx" # PLEASE CHANGE: Your initial admin password (min 4 characters) # configured as it otherwise may get stuck in a restart loop: # Only enable automatic restarts once your installation is properly # Use photoprism/photoprism:preview instead for testing preview builds: # This will change the home directory "~" to "/root" in your configuration. # Note: All commands may have to be prefixed with "sudo" when not running as root. # Import | docker-compose exec photoprism photoprism import # Reindex | docker-compose exec photoprism photoprism index -a # Index | docker-compose exec photoprism photoprism index # Restore | docker-compose exec photoprism photoprism restore -a -i # Backup | docker-compose exec photoprism photoprism backup -a -i # Reset | docker-compose exec photoprism photoprism reset # Config | docker-compose exec photoprism photoprism config # Help | docker-compose exec photoprism photoprism help # Terminal | docker-compose exec photoprism bash when running PhotoPrism on a public server outside your home network. # Please run behind a reverse proxy like Caddy, Traefik or Nginx if you need HTTPS / SSL support # Documentation : PhotoPrism - Docker Compose
# Example Docker Compose config file for PhotoPrism (Linux / AMD64) We have not finished setting it up yet, but it was far enough for me to test it on a small sample set of photos to see if I wanted to go further with it or not. My photos still existed, but I had to re-index them all. I will also warn you that when I restarted this container as currently composed, I lost all my indexing. For whatever reason we are having problems getting the database containers to communicate with the main app container. We are also struggling to get Paperless-ng up. My BIL is a smart dude and works with this stuff for a living, but he spent hours trying to get this to work. I'm not versed enough in coding to know whether or not my brother-in-law used 's welder or not, but below is my file that's been redacted.