Skip to content

Instantly share code, notes, and snippets.

@reski-rukmantiyo
Created July 19, 2022 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reski-rukmantiyo/251d2f7ebb6e3a5ec9788b90ccfb0733 to your computer and use it in GitHub Desktop.
Save reski-rukmantiyo/251d2f7ebb6e3a5ec9788b90ccfb0733 to your computer and use it in GitHub Desktop.
Keyclock-Dev
version: '3'
volumes:
mysql_data:
driver: local
services:
mysql:
image: mysql:5.7
volumes:
- mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: qhz6npw_akd9XKJ5mgy
MYSQL_DATABASE: keycloak
MYSQL_USER: keycloak
MYSQL_PASSWORD: qez7ezd_wuf-QVZ2kmy
keycloak:
image: quay.io/keycloak/keycloak:legacy
environment:
DB_VENDOR: MYSQL
DB_ADDR: mysql
DB_DATABASE: keycloak
DB_USER: keycloak
DB_PASSWORD: qez7ezd_wuf-QVZ2kmy
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: rnv0egk-PER.ftu_nvq
# Uncomment the line below if you want to specify JDBC parameters. The parameter below is just an example, and it shouldn't be used in production without knowl>
#JDBC_PARAMS: "connectTimeout=30000"
ports:
- 8080:8080
- 8443:8443
# depends_on:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment