1 Commits

Author SHA1 Message Date
957a79117b packaging debian 2023-04-03 16:42:29 +02:00
5 changed files with 15 additions and 11 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: Démo OIDC pour MSE
Description: Application de démo oidc MSE

View File

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

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

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

1
debian/source/format vendored Normal file
View File

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

View File

@ -1,17 +1,24 @@
version: "2.4"
services:
oidc-test:
image: reg.cadoles.com/cadoles/goweb-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:-}
environment:
- LOG_LEVEL=0
- HTTP_ADDRESS=0.0.0.0:3002
- OIDC_CLIENT_ID=local-test
- OIDC_CLIENT_SECRET=local-test
- OIDC_ISSUER_URL=
- OIDC_ISSUER_URL=https://msedev.crous-toulouse.fr/auth/
- OIDC_REDIRECT_URL=http://localhost:3002
- OIDC_POST_LOGOUT_REDIRECT_URL=http://localhost:3002
- OIDC_ACR_VALUES=
ports:
- 80:3002
- 3002:3002
network_mode: host