Minimal environment with keycloak
and a custom python
app behind
nginx
, in docker
, orchestrated with docker-compose
.
Start the environment: docker-compose up -d
Create a new user in the keycloak
admin: http://localhost/keycloak/admin
Tip: add credentials for keycloak
and postgres
in a .env
file.
- http://localhost/: "Hello world!" index page
- http://localhost/login: redirects to
keycloak
auth - http://localhost/auth/callback:
keycloak
callback after login
- The
python
app builds correctly but does not work in production mode only in development mode. - The app's
login
is broken. - Connections to the
keycloak
endpoints fail with "502 Bad Gateway". - The
python
app'sDockerfile
does not follow best practices.
- Any
git
commits should follow the conventional commits specifications. git
formatted patches are preferred.