I want Keycloak to run using HTTP. All works perfectly fine until I add the network section.
Here is my docker compose file:
services:
keycloak:
image: quay.io/keycloak/keycloak:22.0.1
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
ports:
- 8501:8080
command: start-dev
networks:
rbac_network:
ipv4_address: 175.20.0.2
networks:
rbac_network:
driver: bridge
ipam:
config:
- subnet: 175.20.0.0/16
The above will yield the message “HTTPS required”
If we remove the networks from docker compose then all works perfectly fine. I can login.