update docker compose

This commit is contained in:
Matthieu Lamalle 2023-04-04 09:04:04 +02:00
parent 927fdbce47
commit 475b237bad
1 changed files with 3 additions and 10 deletions

View File

@ -1,24 +1,17 @@
version: "2.4" version: "2.4"
services: services:
oidc-test: oidc-test:
build: image: reg.cadoles.com/cadoles/goweb-oidc-test
context: ./
dockerfile: ./misc/dokku/Dockerfile
args:
- HTTP_PROXY=${HTTP_PROXY:-}
- HTTPS_PROXY=${HTTPS_PROXY:-}
- http_proxy=${http_proxy:-}
- https_proxy=${https_proxy:-}
environment: environment:
- LOG_LEVEL=0 - LOG_LEVEL=0
- HTTP_ADDRESS=0.0.0.0:3002 - HTTP_ADDRESS=0.0.0.0:3002
- OIDC_CLIENT_ID=local-test - OIDC_CLIENT_ID=local-test
- OIDC_CLIENT_SECRET=local-test - OIDC_CLIENT_SECRET=local-test
- OIDC_ISSUER_URL=https://msedev.crous-toulouse.fr/auth/ - OIDC_ISSUER_URL=
- OIDC_REDIRECT_URL=http://localhost:3002 - OIDC_REDIRECT_URL=http://localhost:3002
- OIDC_POST_LOGOUT_REDIRECT_URL=http://localhost:3002 - OIDC_POST_LOGOUT_REDIRECT_URL=http://localhost:3002
- OIDC_ACR_VALUES= - OIDC_ACR_VALUES=
ports: ports:
- 3002:3002 - 80:3002
network_mode: host network_mode: host