Fixed EACCES permission when mounting bind volume, add dynamic location for backup directory

This commit is contained in:
Alex Tran
2022-02-11 22:23:06 -06:00
parent 4f47c8c06b
commit 56627caf5b
6 changed files with 17 additions and 10 deletions

View File

@@ -12,11 +12,9 @@ services:
command: npm run start:dev
ports:
- "3000:3000"
# expose:
# - 3000
volumes:
- .:/usr/src/app
- userdata:/usr/src/app/upload
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /usr/src/app/node_modules
env_file:
- .env
@@ -67,5 +65,4 @@ services:
networks:
immich_network:
volumes:
pgdata:
userdata:
pgdata: