Skip to content

Instantly share code, notes, and snippets.

@DF-wu
Created October 9, 2023 08:19
Show Gist options
  • Save DF-wu/25019fc7486b3194dac7ba9f32e9f406 to your computer and use it in GitHub Desktop.
Save DF-wu/25019fc7486b3194dac7ba9f32e9f406 to your computer and use it in GitHub Desktop.
docker-compose.yml sameple for medium
services:
photoprism:
image: photoprism/photoprism
restart: unless-stopped
container_name: photoprism
ports:
# web ui
- 52342:2342
# WebUI:
volumes:
# DATA : SERVICE IS ON AXLOTL!!!!!
# Storage PATH for generated files like cache and index (Keep cache, settings and database)
- /mnt/appdata/photoprism:/photoprism/storage
# Storage Path
# Path to your images and storage folder
- /mnt/mydata/photoprism/Pictures:/photoprism/originals
# Photo Import Folder:
# Only if you want to use the Import function of PhotoPrism (ATTENTION: Don't put the import folder in a subdirectory of the storage folder for your images!)
- /mnt/mydata/photoprism/Import:/photoprism/import
env_file:
- .env
networks:
- appnetwork
networks:
appnetwork:
name: mynetwork
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment