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.gitAnd inside each submodule, run
git pullRun the infrastructure with
sudo docker compose upOr you can run in detached mode by adding -d flag to run everything in the background
sudo docker compose up -dAnd then you can stop it with
sudo docker compose downThis 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