From eccf74f3438246d7915651ea08212826528cadc2 Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Sun, 19 Feb 2023 01:39:45 -0500 Subject: [PATCH] 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 ?) --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9d54108..7658652 100644 --- a/README.md +++ b/README.md @@ -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.