Configurable upload path. (#191)
* Add necessary migrations for project model. * Add a few tests for project model new columns. * make upload location into a configurable * fix uploadDir path * use config in app.js * Change upload env var naming * Add upload env var to Docker files --------- Co-authored-by: antanst <> Co-authored-by: vhsdream <punk.sand7393@fastmail.com>
This commit is contained in:
parent
1e11ab5fa4
commit
4051824e7a
6 changed files with 15 additions and 6 deletions
|
|
@ -8,11 +8,13 @@ services:
|
|||
- TUDUDI_SESSION_SECRET=changeme-please-use-openssl
|
||||
- TUDUDI_INTERNAL_SSL_ENABLED=false
|
||||
- TUDUDI_ALLOWED_ORIGINS=http://localhost:3002
|
||||
- TUDUDI_UPLOAD_PATH="/app/backend/uploads"
|
||||
# Runtime UID/GID configuration - set these to match your host user/group
|
||||
- PUID=1001
|
||||
- PGID=1001
|
||||
volumes:
|
||||
- ./tududi_db:/app/backend/db
|
||||
#- ./uploads:/app/backend/uploads
|
||||
ports:
|
||||
- "3002:3002"
|
||||
restart: unless-stopped
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue