shiroyasha/events

Programmatical setup

Opened this issue · 0 comments

Setup

Create events database table:

docker-compose up db &
docker-compose exec db su -c 'createdb events' postgres
This is the most dubious part. Maybe it could be done programaticaly?

This can be done in service entrypoint, or via extending postgres image/service https://github.com/docker-library/docs/tree/master/postgres#how-to-extend-this-image