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

encrypt secret keys on bootstrap

This commit is contained in:
Frederik Ring 2019-05-31 16:04:21 +02:00
parent e708e3a97d
commit f2df050b1e

View File

@ -26,6 +26,7 @@ services:
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
- KMS_ENCRYPTION_ENDPOINT=http://kms:8081/encrypt
ports: ports:
- 8080:8080 - 8080:8080
command: go run cmd/server/main.go -origin https://local.offen.dev:9977 -conn postgres://postgres:develop@database:5432/postgres?sslmode=disable -key local.offen.dev-key.pem -cert local.offen.dev.pem -level debug command: go run cmd/server/main.go -origin https://local.offen.dev:9977 -conn postgres://postgres:develop@database:5432/postgres?sslmode=disable -key local.offen.dev-key.pem -cert local.offen.dev.pem -level debug