26 lines
722 B
YAML
Executable File
26 lines
722 B
YAML
Executable File
version: "3.9"
|
|
services:
|
|
web:
|
|
image: loredcast/filewizard:latest
|
|
build: .
|
|
#env_file:
|
|
# - .env
|
|
environment:
|
|
- LOCAL_ONLY=True # set to False to enable OIDC auth (requires configuration in settings.yml)
|
|
- SECRET_KEY= # if using auth
|
|
- UPLOADS_DIR=/app/uploads
|
|
- PROCESSED_DIR=/app/processed
|
|
- OMP_NUM_THREADS=1
|
|
#user: "1000:1000"
|
|
ports:
|
|
- "6969:8000"
|
|
volumes:
|
|
# Mount local directories and files into the container for persistence
|
|
- ./config:/app/config #you can copy settings.default.yml into here as settings.yml
|
|
- ./uploads_data:/app/uploads
|
|
- ./processed_data:/app/processed
|
|
|
|
volumes:
|
|
uploads_data: {}
|
|
processed_data: {}
|