Due to tests not working as expected in other environments opted to split up the compose file to separate files. This way we can have separation of what is loaded by each file. We use the include directive to add the files in the order they are needed.
12 lines
371 B
YAML
12 lines
371 B
YAML
services:
|
|
oauth2:
|
|
build:
|
|
context: https://gitea.dsv.su.se/DMC/oauth2-authorization-server.git#20cd09737d4c57bc1ee8098637cbad1a618bf49e
|
|
|
|
ports:
|
|
- '51337:8080'
|
|
environment:
|
|
- CLIENT_ID=seshat
|
|
- CLIENT_SECRET=n0tS3cr3t
|
|
- CLIENT_REDIRECT_URI=http://localhost:8181/login/oauth2/code/seshat
|
|
- CLIENT_SCOPES=openid email profile |