keycloak: make data local

single-dockerfile
Ubuntu 3 years ago
parent a4dc32e387
commit be5ea40f83
  1. 3
      keycloak/docker-compose.yaml

@ -8,12 +8,13 @@ services:
mysql:
image: mysql:5.7
volumes:
- mysql_data:/var/lib/mysql
- ./mysql_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: keycloak
MYSQL_USER: keycloak
MYSQL_PASSWORD: password
keycloak:
image: quay.io/keycloak/keycloak:18.0.0
entrypoint: /opt/keycloak/bin/kc.sh start-dev

Loading…
Cancel
Save