Skip to content

Commit

Permalink
doc: add info about docker compose
Browse files Browse the repository at this point in the history
Should clarify and help close #1321
Issue also found in #1169 and #334 where i found my solution
  • Loading branch information
adan-ea authored and zorun committed Sep 20, 2024
1 parent 710aee9 commit 6e0a368
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ hub](https://hub.docker.com/r/ihatemoney/ihatemoney/).
This is probably the simplest way to get something running. Once you
have Docker installed on your system, just issue :

docker run -d -p 8000:8000 ihatemoney/ihatemoney
docker run -d -p 8000:8000 ihatemoney/ihatemoney:latest

Ihatemoney is now available on <http://localhost:8000>.

Expand Down Expand Up @@ -62,12 +62,18 @@ Add these additional environment variables to the docker run invocation:
-e ACTIVATE_ADMIN_DASHBOARD=True \
-e ADMIN_PASSWORD=<hashed_password_string> \

:::{note}
If you are using a `docker-compose.yml` file and need to include a password hash, use `$$` instead of `$` to escape the dollar sign. This ensures that the hash is treated as a literal string rather than a variable in Bash.
:::

Additional gunicorn parameters can be passed using the docker `CMD`
parameter. For example, use the following command to add more gunicorn
workers:

docker run -d -p 8000:8000 ihatemoney/ihatemoney -w 3

If needed, there is a `docker-compose.yml` file available as an example on the [project github repository](https://github.com/spiral-project/ihatemoney/blob/master/docker-compose.yml)

(cloud)=
## On a Cloud Provider

Expand Down

0 comments on commit 6e0a368

Please sign in to comment.