create .env
file in the folder /app
touch app/.env
Fill it with next environment variables:
DB_HOST= your postgres host name
DB_PORT= your postgres port
DB_USER= your postgres api user
DB_PASS= password for your user api
DB_NAME= name of your database
Build:
sudo docker-compose build --no-cashe
Run:
sudo docker-compose up
For running in background mode:
sudo docker-compose up -d