diff --git a/.circleci/config.yml b/.circleci/config.yml index 9091f75..a8e2cb9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,6 +63,7 @@ jobs: environment: - POSTGRES_CONNECTION_STRING=postgres://circle:test@localhost:5432/circle_test?sslmode=disable - PORT=8080 + - EVENT_RETENTION_PERIOD=4464h - image: circleci/postgres:11.2-alpine environment: - POSTGRES_USER=circle diff --git a/docker-compose.yml b/docker-compose.yml index 27c1486..6de6f18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,12 +43,15 @@ services: - ./bootstrap.yml:/offen/server/bootstrap.yml - serverdeps:/go/pkg/mod environment: + CORS_ORIGIN: http://localhost:9977 + OPTOUT_COOKIE_DOMAIN: localhost POSTGRES_CONNECTION_STRING: postgres://postgres:develop@server_database:5432/postgres?sslmode=disable KMS_ENCRYPTION_ENDPOINT: http://kms:8081/encrypt PORT: 8080 JWT_PUBLIC_KEY: http://accounts:5000/api/key DEVELOPMENT: '1' COOKIE_EXCHANGE_SECRET: Wsttdo4Z3mXV5sTc + EVENT_RETENTION_PERIOD: 4464h ports: - 8080:8080 command: refresh run