Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ The following environment variables are also honored for configuring your WireCl

- `-e DEBUG=...` (defaults to "False", use "True" for running WireCloud in debug
mode. Debug mode should be enabled for running WireCloud in standalone mode)
- `-e ALLOWED_HOSTS=...` (defaults to "*", whitespace whitespace-separated list
of allowed hosts. See [django documentation][ALLOWED_HOSTS] for more
details)
- `-e DEFAULT_THEME=...` (defaults to "wirecloud.defaulttheme")
- `-e DB_HOST=...` (defaults to nothing, provide a host value to connect this
image with a DB server)
- `-e DB_NAME=...` (defaults to "postgres")
- `-e DB_USERNAME=...` (defaults to "postgres")
- `-e DB_PASSWORD=...` (defaults to "postgres")
- `-e DB_PORT=...` (defaults to "5432")
- `-e FORWARDED_ALLOW_IPS=...` (defaults to "*", set this to provide a list of
trusted reverse proxies)
- `-e ELASTICSEARCH2_URL=...` (defaults to nothing, leave it empty to use Whoosh
Expand All @@ -51,6 +55,9 @@ the `X-Forwarded-Proto`, `X-Forwarded-Host` and `X-Forwarded-Port` headers
appropriately.


[ALLOWED_HOSTS]: https://docs.djangoproject.com/en/2.1/ref/settings/#allowed-hosts


## Running manage.py commands

You can run any available `manage.py` command by using `docker exec -ti some-wirecloud manage.py ...`. For example, you can create superusers/administrators by running the following command:
Expand Down