Key Cloak MySQL RDS

49 views
Skip to first unread message

Preetam Balijepalli

unread,
Jun 25, 2024, 7:02:36 AM (8 days ago) Jun 25
to keyclo...@googlegroups.com, Prathmesh Bhansali, Pritam Das
What's wrong with this that I'm not able to connect with my MYSQL RDS , Thanks in advance

services:
  keycloak:
    image: quay.io/keycloak/keycloak:${KEYCLOAK_VERSION:-latest}
    environment:
      DB: MYSQL
      DB_ADDR: xxx.xx.x.xxx
      DB_PORT: 3306
      DB_DATABASE: keycloak
      DB_USER: admin
      DB_PASSWORD: xxxxxxxx
      KEYCLOAK_ADMIN: admin
      KEYCLOAK_ADMIN_PASSWORD: xxxx
      PROXY_ADDRESS_FORWARDING: 'true'
      KC_PROXY: edge
      KC_HOSTNAME_STRICT: 'true'
      KC_HOSTNAME_STRICT_HTTPS: 'false'
      KC_HOSTNAME_URL: https://${KEYCLOAK_DOMAIN}
      KEYCLOAK_HTTP_PORT: ${KEYCLOAK_HTTP_PORT}
      KEYCLOAK_HTTP_BIND_ADDRESS : ${KEYCLOAK_HTTP_BIND_ADDRESS}
      KC_HEALTH_ENABLED: 'true'
      KC_METRICS_ENABLED: 'true'
    mem_limit: 500m
    mem_reservation: 400m
    command: start
    container_name: keycloak
    volumes:
      - ./keycloak/themes:/opt/keycloak/themes
    restart: always
    networks:
      - keycloak-network
    ports:
      - 8090:8080
      - 8443:443

Preetam Balijepalli

unread,
Jun 25, 2024, 8:42:07 AM (8 days ago) Jun 25
to keyclo...@googlegroups.com, Prathmesh Bhansali, Pritam Das
Any help from the community is  highly appreciated.

Bouchaib Habily

unread,
Jun 25, 2024, 11:39:34 AM (8 days ago) Jun 25
to Preetam Balijepalli, keyclo...@googlegroups.com, Prathmesh Bhansali, Pritam Das
Hi,
I suppose you have checked connectivity from another mysql client from another container or your local machine for test.
Can you replace DB: MYSQL
With
 DB_VENDOR: mysql

Cordialement,

Habily BOUCHAÏB

Le 25 juin 2024 à 14:42, Preetam Balijepalli <pre...@datasee.ai> a écrit :


--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/CAPw0tJ8D2OTToyFqhiFpkD8Y2qRSsxQosc_jAdZzLbYZhfE4AQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages