This repository provides a Docker Compose file for local deployment of Netzgrafik Editor including
- netzgrafik-editor-frontend
- netzgrafik-editor-backend
- Keycloak for Identity and Access Management
- PostgreSQL database for backend data
The setup is based on the published images from the GitHub container registry at
ghcr.io/schweizerischebundesbahnen.
It requires only docker
and docker compose
.
No further local dev tools (like mvn
, npm
etc.) are required.
For local dev setup, please refer to the frontend and backend repos.
Start containers:
docker compose up -d
and then go to http://localhost:4200/
and enter user user
and password user
.
Stop containers:
docker compose stop
Remove containers and data:
docker compose down
The following diagram shows the network wiring:
Keycloak tokens are issued for http://localhost:8081/realms/netzgrafikeditor
.
As the backend verifies these tokens, a reverse proxy needs to be run in the backend Docker container.
This project is licensed under Apache 2.0.