mirror of
https://github.com/offen/website.git
synced 2024-11-22 01:00:26 +01:00
use config package for configuring http app
This commit is contained in:
parent
4cba3c89f6
commit
ac8f63f0c2
@ -63,6 +63,7 @@ jobs:
|
|||||||
environment:
|
environment:
|
||||||
- POSTGRES_CONNECTION_STRING=postgres://circle:test@localhost:5432/circle_test?sslmode=disable
|
- POSTGRES_CONNECTION_STRING=postgres://circle:test@localhost:5432/circle_test?sslmode=disable
|
||||||
- PORT=8080
|
- PORT=8080
|
||||||
|
- EVENT_RETENTION_PERIOD=4464h
|
||||||
- image: circleci/postgres:11.2-alpine
|
- image: circleci/postgres:11.2-alpine
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_USER=circle
|
- POSTGRES_USER=circle
|
||||||
|
@ -43,12 +43,15 @@ services:
|
|||||||
- ./bootstrap.yml:/offen/server/bootstrap.yml
|
- ./bootstrap.yml:/offen/server/bootstrap.yml
|
||||||
- serverdeps:/go/pkg/mod
|
- serverdeps:/go/pkg/mod
|
||||||
environment:
|
environment:
|
||||||
|
CORS_ORIGIN: http://localhost:9977
|
||||||
|
OPTOUT_COOKIE_DOMAIN: localhost
|
||||||
POSTGRES_CONNECTION_STRING: postgres://postgres:develop@server_database:5432/postgres?sslmode=disable
|
POSTGRES_CONNECTION_STRING: postgres://postgres:develop@server_database:5432/postgres?sslmode=disable
|
||||||
KMS_ENCRYPTION_ENDPOINT: http://kms:8081/encrypt
|
KMS_ENCRYPTION_ENDPOINT: http://kms:8081/encrypt
|
||||||
PORT: 8080
|
PORT: 8080
|
||||||
JWT_PUBLIC_KEY: http://accounts:5000/api/key
|
JWT_PUBLIC_KEY: http://accounts:5000/api/key
|
||||||
DEVELOPMENT: '1'
|
DEVELOPMENT: '1'
|
||||||
COOKIE_EXCHANGE_SECRET: Wsttdo4Z3mXV5sTc
|
COOKIE_EXCHANGE_SECRET: Wsttdo4Z3mXV5sTc
|
||||||
|
EVENT_RETENTION_PERIOD: 4464h
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
command: refresh run
|
command: refresh run
|
||||||
|
Loading…
Reference in New Issue
Block a user