refactor: create specific folder for immich

This commit is contained in:
Nicolas Meienberger 2022-09-24 18:09:54 +02:00
parent 9352d10139
commit ad6b749393
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ services:
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-server.sh"]
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db
@ -28,7 +28,7 @@ services:
image: altran1502/immich-server:release
entrypoint: ["/bin/sh", "./start-microservices.sh"]
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db
@ -50,7 +50,7 @@ services:
image: altran1502/immich-machine-learning:release
entrypoint: ["/bin/sh", "./entrypoint.sh"]
volumes:
- ${ROOT_FOLDER_HOST}/media/data/images:/usr/src/app/upload
- ${ROOT_FOLDER_HOST}/media/data/images/immich:/usr/src/app/upload
environment:
- NODE_ENV=production
- DB_HOSTNAME=immich-db

View File

@ -37,7 +37,7 @@ services:
PHOTOPRISM_SITE_CAPTION: "AI-Powered Photos App"
working_dir: "/photoprism"
volumes:
- "${APP_DATA_DIR}/data/photoprism/originals:/photoprism/originals"
- "${ROOT_FOLDER_HOST}/media/data/images:/photoprism/originals"
- "${APP_DATA_DIR}/data/photoprism/storage:/photoprism/storage"
networks:
- tipi_main_network