Make the configs more consistent with other projects

- Move the prod config into the base file
- remove duplicated config from the dev file
This commit is contained in:
Sam Van Campenhout
2021-08-20 13:46:05 +02:00
parent 8c7b2741e7
commit 25635601ef
3 changed files with 29 additions and 64 deletions

View File

@@ -1,19 +1,7 @@
version: '3.4'
services:
web:
image: nginx
volumes:
- ./config/proxy:/etc/nginx/conf.d
- ./config/proxy/web.conf:/etc/nginx/nginx.conf:ro
links:
- identifier:identifier
labels:
- "logging=true"
restart: always
ports:
- "80:80"
identifier:
identifier:
restart: "no"
dispatcher:
restart: "no"
@@ -47,21 +35,9 @@ services:
restart: "no"
login:
restart: "no"
frontend:
image: lblod/frontend-contact-hub:latest
labels:
- "logging=true"
restart: always
environment:
EMBER_OAUTH_API_REDIRECT_URL: "https://organisaties.abb.lblod.info/authorization/callback"
EMBER_OAUTH_API_KEY: "677af572-2e2f-4e61-ad38-036723bb314c"
EMBER_OAUTH_API_BASE_URL: "https://authenticatie-ti.vlaanderen.be/op/v1/auth"
EMBER_OAUTH_API_LOGOUT_URL: "https://authenticatie-ti.vlaanderen.be/op/v1/logout"
EMBER_OAUTH_API_SCOPE: "openid vo profile abb_organisatieportaal"
restart: always
proxy:
image: nginx:1.13
volumes:
- ./config/proxy-https:/etc/nginx/conf.d
web:
ports:
- "443:443"
- "80:80"
restart: "no"
frontend:
restart: "no"