From eccf74f3438246d7915651ea08212826528cadc2 Mon Sep 17 00:00:00 2001 From: Aaron Miller Date: Sun, 19 Feb 2023 01:39:45 -0500 Subject: [PATCH 1/2] 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. From 139953ddbaeebb8e7513f6702b4e3093e6b3a75f Mon Sep 17 00:00:00 2001 From: krateng Date: Wed, 18 Oct 2023 12:46:35 +0200 Subject: [PATCH 2/2] Simplified env variables --- README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7658652..565b97e 100644 --- a/README.md +++ b/README.md @@ -84,11 +84,8 @@ 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_SKIP_SETUP` -- Make the server setup process non-interactive. Maloja will not work properly in a container without this variable set. This is done by default in the provided Containerfile. +* `MALOJA_FORCE_PASSWORD` -- Set an admin password for Maloja. You only need this on the first run. * `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)