- Copy
.env.example
to.env
and set the variables. - Running the following commands.
./scripts/setup.sh
./scripts/deploy.sh
scripts/setup.sh
scripts should contain all necessary setup.
To integrate with postgres, specify host as postgres
.
Volumes:
- docker-entrypoint-initdb.d - folder that contains init sql scripts for postgres
After your enviroment spins up you can go to localhost:8765 and there you can inspect your database. Steps:
- Switch the System to PostgreSQL
- Use the name postgres in the Server input
- Use the username and password from the compose file (probably guest)
This service pull all the data needed for visualization of expenses per department
to seed the database run the command docker container exec rhok-station-financials-1 node /usr/src/app/index.js