Damien Murphy
commented
on
AEROGEAR-8478
Re: Investigate how to create Postgres DB to be used by server
Following the approach taken in aerogear-app-metrics:
resource/ image definitions:
postgres db image definition
docker-compose.yml
CI config
actual setup in code:
initialised in
main.go
db setup logic housed in a
dedicated setup.go file
which defers to
db initialisation & setup logic
kept in a dedicated dao db file, but we can add this to our repository.go file where we are keeping our db logic I think
drawing on
config for db setup
Add Comment
This message was sent by Atlassian Jira
(v7.12.1#712002-
sha1:609a505
)