Skip to content

Commit

Permalink
update for Docker Compose v2
Browse files Browse the repository at this point in the history
using the new recommended command-line syntax since v1 is EOL.

`docker-compose` runs the old Python v1 code.

v2 is the new go-based, built-in orchestration tool.

`docker compose` (no dash) makes sure v2 is used.

See also:

* https://www.docker.com/blog/new-docker-compose-v2-and-v1-deprecation/
* https://docs.docker.com/compose/releases/migrate/
  • Loading branch information
meonkeys committed Oct 23, 2024
1 parent 2b730bb commit 71dca68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ Access the webapp on http://localhost:4200 in your browser.
It is possible to do a 'one-touch' installation of Mifos X Web App using containers (AKA "Docker").
Fineract now packs the Mifos community-app web UI in it's docker deploy.

As Prerequisites, you must have `docker` and `docker-compose` installed on your machine; see
As Prerequisites, you must have `docker` and Docker Compose v2 or later installed on your machine; see
[Docker Install](https://docs.docker.com/install/) and
[Docker Compose Install](https://docs.docker.com/compose/install/).

Now to run a new MifosX Web App instance you can simply:

1. `git clone https://github.com/openMF/web-app.git ; cd web-app`
1. for windows, use `git clone https://github.com/openMF/web-app.git --config core.autocrlf=input ; cd web-app`
1. `docker-compose up -d`
1. `docker compose up -d`
1. Access the webapp on http://localhost:4200 in your browser.

You can also setup different configurations for the MifosX Web App using environment variables:
Expand Down

0 comments on commit 71dca68

Please sign in to comment.