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