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