mirror of
https://github.com/offen/website.git
synced 2024-11-22 17:10:29 +01:00
improve in-code documentation, restrict CORS access to vault
This commit is contained in:
parent
1bb7d9d3ff
commit
f08f8f748f
@ -9,6 +9,7 @@ server:
|
|||||||
environment:
|
environment:
|
||||||
- GOPATH=/go
|
- GOPATH=/go
|
||||||
- POSTGRES_CONNECTION_STRING=postgres://postgres:develop@database:5432/postgres?sslmode=disable
|
- POSTGRES_CONNECTION_STRING=postgres://postgres:develop@database:5432/postgres?sslmode=disable
|
||||||
|
- VAULT_HOST=https://local.offen.dev:9977
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
command: go run cmd/server/main.go -conn postgres://postgres:develop@database:5432/postgres?sslmode=disable -key local.offen.dev-key.pem -cert local.offen.dev.pem
|
command: go run cmd/server/main.go -conn postgres://postgres:develop@database:5432/postgres?sslmode=disable -key local.offen.dev-key.pem -cert local.offen.dev.pem
|
||||||
|
Loading…
Reference in New Issue
Block a user