This repo hosts the docker compose for the fixmi app, running and connecting all the microservices
Please clone this repo with
git clone --recurse-submodules https://github.com/IS-FixMi/fixmi-compose.git
And inside each submodule, run
git pull
Run the infrastructure with
sudo docker compose up
Or you can run in detached mode by adding -d
flag to run everything in the background
sudo docker compose up -d
And then you can stop it with
sudo docker compose down
This compose runs:
- Task microservice
- Authentication microservice
- Database microservice
- Reverse proxy
All the microservices run on the same network and are configured with a static ip address, defined in .env
You can put the database configuration in init_scripts/init.js
When you run the database container, a db/
directory will be created to maintain data persistency between docker instances.
To interact directly with the DB, enter inside docker and run
mongodh -u fixme -p fixme