0
stars
1
forks
source link
Spring Boot API with Keycloak and mySql in docker, React frontend, and CI on GitHub
Prerequisites:
Docker
- Clone repo.
- Create a .env in root folder containing:
SPRING_DATASOURCE_URL=jdbc:mysql://host.docker.internal:3306/test
SPRING_DATASOURCE_USER=user
SPRING_DATASOURCE_PASSWORD=password
SQL_SERVER_NAME=test
KEYCLOAK_ADMIN_NAME=admin
KEYCLOAK_ADMIN_PASSWORD=admin
- Run docker compose -f ./SetupCompose.yml up -d.
- cd to frontend/ and run npm install and npm run start
- Visit localhost:3000