Hi Guys, I have this sample docker compose working fine:
version: '3.9'
volumes:
db_data:
driver: local
services:
db:
image: postgres:13-alpine
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
auth:
image: quay.io/keycloak/keycloak:latest
environment:
DB_VENDOR: postgres
DB_ADDR: db
DB_DATABASE: ${POSTGRES_DB}
DB_SCHEMA: public
DB_USER: ${POSTGRES_USER}
DB_PASSWORD: ${POSTGRES_PASSWORD}
KEYCLOAK_USER: ${KEYCLOAK_USER}
KEYCLOAK_PASSWORD: ${KEYCLOAK_PASSWORD}
PROXY_ADDRESS_FORWARDING: "true"
ports:
- 8080:8080
depends_on:
- db
My problem appears when I try to use the Keycloak X image instead of the regular one. Changing only the line that defines de image, like this:
auth:
image: quay.io/keycloak/keycloak-x:latest
I start to face config/connection/env errors:
auth_1 | LogManager error of type WRITE_FAILURE: The delayed handler's queue was overrun and log record(s) were lost. Did you forget to configure logging?
auth_1 | 2021-06-07 17:00:01,605 WARN [io.qua.agr.run.AgroalConnectionConfigurer] (main) Agroal does not support detecting if a connection is still usable after an exception for database kind: h2-file
auth_1 | 2021-06-07 17:00:03,869 ERROR [org.key.cli.Picocli] (main) ERROR: Failed to start server using profile (none).
auth_1 | 2021-06-07 17:00:03,871 ERROR [org.key.cli.Picocli] (main) ERROR: Key material not provided to setup HTTPS. Please configure your keys/certificates or enable HTTP or start the server using the 'dev' profile.
auth_1 | 2021-06-07 17:00:03,871 ERROR [org.key.cli.Picocli] (main) For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.
Do you guys can point any resource to where we can understand the differences between those releases?