mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-28 09:22:38 +02:00
doc: add info about docker compose
Should clarify and help close #1321 Issue also found in #1169 and #334 where i found my solution
This commit is contained in:
parent
710aee9711
commit
6e0a3689b8
1 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,7 @@ hub](https://hub.docker.com/r/ihatemoney/ihatemoney/).
|
||||||
This is probably the simplest way to get something running. Once you
|
This is probably the simplest way to get something running. Once you
|
||||||
have Docker installed on your system, just issue :
|
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>.
|
Ihatemoney is now available on <http://localhost:8000>.
|
||||||
|
|
||||||
|
@ -62,12 +62,18 @@ Add these additional environment variables to the docker run invocation:
|
||||||
-e ACTIVATE_ADMIN_DASHBOARD=True \
|
-e ACTIVATE_ADMIN_DASHBOARD=True \
|
||||||
-e ADMIN_PASSWORD=<hashed_password_string> \
|
-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`
|
Additional gunicorn parameters can be passed using the docker `CMD`
|
||||||
parameter. For example, use the following command to add more gunicorn
|
parameter. For example, use the following command to add more gunicorn
|
||||||
workers:
|
workers:
|
||||||
|
|
||||||
docker run -d -p 8000:8000 ihatemoney/ihatemoney -w 3
|
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)=
|
(cloud)=
|
||||||
## On a Cloud Provider
|
## On a Cloud Provider
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue