Local developer environment setup for the Pager project
git clone [email protected]:oslokommune/hubdevenv.git && cd hubdevenv
sudo echo "127.0.0.1 auth" >> /etc/hosts
Required due to Keycloak using dynamic base URL in .well-known data
- Add the following line to your hosts file
- Start developer environment
docker-compose up -d
-
Database (Postgres) available at localhost:5432
- Stores data for event-service
- Script for adding provisioned data/setup here
-
Authentication provider (Keycloak) available at http://localhost:8080
- Handles users and authentication
- Provisioned test users here
-
Authentication backend (Gatekeeper) available at http://localhost:4554
- Handles frontend authentication with authentication provider and converting token to Authorization header
-
Event backend (pager-event-service) available at http://localhost:3000
- Handles CRUD for events