From f2df050b1e1edb8903f8c34ea51160e3cd7a355f Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Fri, 31 May 2019 16:04:21 +0200 Subject: [PATCH] encrypt secret keys on bootstrap --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index b120eb5..6d7d0e6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -26,6 +26,7 @@ services: environment: - GOPATH=/go - POSTGRES_CONNECTION_STRING=postgres://postgres:develop@database:5432/postgres?sslmode=disable + - KMS_ENCRYPTION_ENDPOINT=http://kms:8081/encrypt ports: - 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