- Set environment vars in the config
.env
e.g.:
DATABASE_NAME=indefinite_studies_api_db
DATABASE_USER=indefinite_studies_api_user
DATABASE_PASSWORD=password
- Check
docker-compose.yml
is appropriate to config that you are going to use (e.g.docker-compose config
) - Build images:
docker-compose build
- Run it:
docker-compose up
- Stop it:
docker-compose down