mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🐳 ✨ Add env to setup directories
This commit is contained in:
parent
1de7f24047
commit
47a20b1784
3 changed files with 6 additions and 0 deletions
|
@ -47,7 +47,9 @@ The following environment variables are also honored for configuring your UXBOX
|
|||
#### Backend
|
||||
- `-e UXBOX_HTTP_SERVER_DEBUG=...` (defaults to false)
|
||||
- `-e UXBOX_MEDIA_URI=...` (defaults to http://localhost:6060/media/)
|
||||
- `-e UXBOX_MEDIA_DIRECTORY=...` (defaults to resources/public/media)
|
||||
- `-e UXBOX_ASSETS_URI=...` (defaults to http://localhost:6060/static/)
|
||||
- `-e UXBOX_ASSETS_DIRECTORY=...` (defaults to resources/public/static)
|
||||
- `-e UXBOX_DATABASE_USERNAME="..."` (defaults to uxbox)
|
||||
- `-e UXBOX_DATABASE_PASSWORD="..."` (defaults to youshouldoverwritethiswithsomethingelse)
|
||||
- `-e UXBOX_DATABASE_NAME="..."` (defaults to uxbox)
|
||||
|
|
|
@ -22,7 +22,9 @@ COPY --from=0 /home/uxbox/backend/docker-entrypoint.sh /entrypoint.sh
|
|||
|
||||
ENV UXBOX_HTTP_SERVER_DEBUG=false \
|
||||
UXBOX_MEDIA_URI="http://localhost:6060/media/" \
|
||||
UXBOX_MEDIA_DIRECTORY="resources/public/media" \
|
||||
UXBOX_ASSETS_URI="http://localhost:6060/static/" \
|
||||
UXBOX_ASSETS_DIRECTORY="resources/public/static" \
|
||||
UXBOX_DATABASE_USERNAME="uxbox" \
|
||||
UXBOX_DATABASE_PASSWORD="youshouldoverwritethiswithsomethingelse" \
|
||||
UXBOX_DATABASE_NAME="uxbox" \
|
||||
|
|
|
@ -35,8 +35,10 @@ services:
|
|||
- UXBOX_HTTP_SERVER_DEBUG=false
|
||||
- UXBOX_MEDIA_URI="/media/"
|
||||
#- UXBOX_MEDIA_URI="http://uxbox.io/media/"
|
||||
- UXBOX_MEDIA_DIRECTORY="resources/public/media"
|
||||
- UXBOX_ASSETS_URI="/static/"
|
||||
#- UXBOX_ASSETS_URI="http://uxbox.io/static/"
|
||||
- UXBOX_ASSETS_DIRECTORY="resources/public/static"
|
||||
# Database setup
|
||||
- UXBOX_DATABASE_USERNAME="uxbox"
|
||||
- UXBOX_DATABASE_PASSWORD="uxbox_postgres_password"
|
||||
|
|
Loading…
Reference in a new issue