The compose setup used for Aventum development purposes, it uses nodemon
on the server and dev server on the dashboard for live/hot reloading.
Inside dashboard
folder create src
folder and put Aventum Dashboard source code in it.
Inside server
folder create src
folder and put Aventum Server source code in it.
The environment variable COMPOSE_CONVERT_WINDOWS_PATHS=1 in
.env
file, it is for Docker For Windows only.
Use
docker-compose -f docker-compose.postgres.yml up
to use PostgreSQL or usedocker-compose -f docker-compose.mongodb.yml up
to use MongoDB if you want to rebuild add--build
to the end of the command likedocker-compose -f docker-compose.postgres.yml up --build
, the app will be accessed through http://localhost:3333
THE FIRST PAGE TO VISIT AFTER docker-compose up IS COMPLETED IS http://localhost:3333/setup IN ORDER TO SETUP THE SUPER USER!