2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00

clean up responsibilities in query methods, make sql backend configurable

This commit is contained in:
Frederik Ring 2019-04-19 18:37:19 +02:00
parent 8b580b787f
commit 01589e3055

View File

@ -6,10 +6,9 @@ server:
- $GOPATH/pkg/mod:/go/pkg/mod
environment:
- GOPATH=/go
- POSTGRES_CONNECTION_STRING=postgres://postgres:develop@database:5432/postgres?sslmode=disable
ports:
- 8080:8080
command: go run cmd/server/main.go
command: go run cmd/server/main.go -conn postgres://postgres:develop@database:5432/postgres?sslmode=disable
links:
- database