mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Clarify Docker env var requirements
This gave me a few minutes' trouble getting Maloja up and running! I'm still not sure if these are exactly all that's required, but I'm pretty sure they _are_ required when running Maloja in Docker. (Possibly related to #147 ?)
This commit is contained in:
parent
073448257a
commit
eccf74f343
@ -84,9 +84,13 @@ Pull the [latest image](https://hub.docker.com/r/krateng/maloja) or check out th
|
||||
|
||||
Of note are these settings which should be passed as environmental variables to the container:
|
||||
|
||||
#### First run
|
||||
* `MALOJA_SKIP_SETUP` -- Make the server setup process non-interactive. Maloja will not work properly without this variable set.
|
||||
* `MALOJA_FORCE_PASSWORD` -- Set an admin password for Maloja. You will need this to log in on first run.
|
||||
|
||||
#### Always
|
||||
* `MALOJA_DATA_DIRECTORY` -- Set the directory in the container where configuration folders/files should be located
|
||||
* Mount a [volume](https://docs.docker.com/engine/reference/builder/#volume) to the specified directory to access these files outside the container (and to make them persistent)
|
||||
* `MALOJA_FORCE_PASSWORD` -- Set an admin password for maloja
|
||||
|
||||
You must publish a port on your host machine to bind to the container's web port (default 42010). The container uses IPv4 per default.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user