2
0
mirror of https://github.com/offen/website.git synced 2024-11-22 09:00:28 +01:00

improve in-code documentation, restrict CORS access to vault

This commit is contained in:
Frederik Ring 2019-05-23 17:40:37 +02:00
parent 1bb7d9d3ff
commit f08f8f748f

View File

@ -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