11 Commits

5 changed files with 11 additions and 15 deletions

2
debian/control vendored
View File

@ -11,4 +11,4 @@ Vcs-Browser: https://forge.cadoles.com/wpetit/goweb-oidc
Package: mse-oidc-demo
Architecture: all
Depends: ${misc:Depends}, docker.io, docker-compose
Description: Application de démo oidc MSE
Description: Démo OIDC pour MSE

View File

@ -7,9 +7,9 @@ StartLimitInterval=0
[Service]
Type=simple
WorkingDirectory=/srv/mse-oidc-demo/
ExecStart=docker-compose up
ExecStart=/usr/bin/docker-compose up
ExecStop=/usr/bin/docker-compose down
Restart=always
StartLimitIntervalSec=0
User=root
Group=root

6
debian/rules vendored Executable file → Normal file
View File

@ -5,5 +5,9 @@
#export DH_VERBOSE=1
%:
dh $@
dh $@ --with systemd
override_dh_auto_build:
override_dh_auto_test:

View File

@ -1 +0,0 @@
3.0 (native)

View File

@ -1,24 +1,17 @@
version: "2.4"
services:
oidc-test:
build:
context: ./
dockerfile: ./misc/dokku/Dockerfile
args:
- HTTP_PROXY=${HTTP_PROXY:-}
- HTTPS_PROXY=${HTTPS_PROXY:-}
- http_proxy=${http_proxy:-}
- https_proxy=${https_proxy:-}
image: reg.cadoles.com/cadoles/goweb-oidc-test
environment:
- LOG_LEVEL=0
- HTTP_ADDRESS=0.0.0.0:3002
- OIDC_CLIENT_ID=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_POST_LOGOUT_REDIRECT_URL=http://localhost:3002
- OIDC_ACR_VALUES=
ports:
- 3002:3002
- 80:3002
network_mode: host