Andreas Svanberg 06d493e720
Some checks failed
Deploy to branch.dsv.su.se / deploy (pull_request) Failing after 29s
Documentation lies and extend depends_on fails instead of ignores
2024-10-30 13:40:52 +01:00

22 lines
582 B
YAML

services:
web:
extends:
file: compose-parent.yaml
service: web
environment:
- OAUTH2_AUTHORIZATION_URI=http://localhost:59999/authorize # exposed port since browser has to access
- OAUTH2_TOKEN_URI=http://oauth2:8080/exchange # inside the docker network
- OAUTH2_USER_INFO_URI=http://oauth2:8080/verify
db:
extends:
file: compose-parent.yaml
service: db
oauth2:
extends:
file: compose-parent.yaml
service: oauth2
environment:
- CLIENT_REDIRECT_URI=http://localhost:8080/login/oauth2/code/local