mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
clean up responsibilities in query methods, make sql backend configurable
This commit is contained in:
parent
8b580b787f
commit
01589e3055
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user