Fix ARCHIVE_DIR environment variable to point to correct archive location
This commit is contained in:
parent
4c7b60b99a
commit
c0269c371a
@ -7,13 +7,15 @@ services:
|
||||
ports:
|
||||
- "6006:6006"
|
||||
environment:
|
||||
- ARCHIVE_DIR=/app/archive
|
||||
- ARCHIVE_DIR=/mnt/centralstoragemedia/Websites/ArchiveBox/data/archive/
|
||||
- FLASK_ENV=production
|
||||
volumes:
|
||||
- ./src/server:/app/src/server
|
||||
- ./src/website:/app/website
|
||||
- ./website/cache:/app/website/cache
|
||||
- /app/src/server/__pycache__
|
||||
# Mount the actual archive directory
|
||||
- /mnt/centralstoragemedia/Websites/ArchiveBox/data/archive/:/mnt/centralstoragemedia/Websites/ArchiveBox/data/archive/
|
||||
working_dir: /app
|
||||
command: python app.py
|
||||
restart: unless-stopped
|
||||
@ -26,4 +28,4 @@ services:
|
||||
|
||||
volumes:
|
||||
archive-data:
|
||||
driver: local
|
||||
driver: local
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user