Created
October 9, 2023 08:19
-
-
Save DF-wu/25019fc7486b3194dac7ba9f32e9f406 to your computer and use it in GitHub Desktop.
docker-compose.yml sameple for medium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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