The base comes from [`npm create vite@latest`](https://vite.dev/guide/#scaffolding-your-first-vite-project) project with [Prettier](https://prettier.io/) added. It has been connected with the backend and authentication is in place. Reviewed-on: #2 Reviewed-by: erth9960 <thuning@dsv.su.se>
30 lines
843 B
YAML
30 lines
843 B
YAML
name: studentportalen-bff
|
|
|
|
services:
|
|
jaeger:
|
|
image: jaegertracing/jaeger:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "4318:4318" # OpenTelemetry Collector
|
|
- "16686:16686" # Jaeger UI
|
|
mock-apis:
|
|
build: https://gitea.dsv.su.se/DMC/apimposter.git
|
|
restart: unless-stopped
|
|
ports:
|
|
- '63163:8080'
|
|
environment:
|
|
MOCK_BASE_PATH: / # HTTP base path for the mock server
|
|
MOCK_FILE_PATH: /mocks
|
|
volumes:
|
|
- ./src/mock-api:/mocks
|
|
oauth2:
|
|
build: https://gitea.dsv.su.se/DMC/oauth2-authorization-server.git
|
|
restart: unless-stopped
|
|
ports:
|
|
- '63164:8080'
|
|
environment:
|
|
CLIENT_ID: studentportalen
|
|
CLIENT_SECRET: p4ssw0rd
|
|
CLIENT_REDIRECT_URI: http://localhost:8080/login/oauth2/code/studentportalen
|
|
CLIENT_SCOPES: openid profile email offline_access
|