forked from greemo/wundergraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (23 loc) · 828 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (23 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
services:
keycloak:
image: 'quay.io/keycloak/keycloak:${KC_VERSION}'
command: ['start-dev', '--import-realm']
restart: unless-stopped
healthcheck:
test: ['CMD', 'curl', '--fail', 'http://localhost:8080/health/ready']
environment:
- KC_METRICS_ENABLED=false
- KC_HEALTH_ENABLED=true
- KEYCLOAK_ADMIN=${KEYCLOAK_ADMIN}
- KEYCLOAK_ADMIN_PASSWORD=${KEYCLOAK_ADMIN_PASSWORD}
- KC_REALM_NAME=${KC_REALM_NAME}
- AUTH_CLIENT_SECRET=${AUTH_CLIENT_SECRET}
- REDIRECT_URI=${REDIRECT_URI}
- GITHUB_APP_CLIENT_SECRET=${GITHUB_APP_CLIENT_SECRET}
- GITHUB_APP_CLIENT_ID=${GITHUB_APP_CLIENT_ID}
ports:
- ${KC_PORT}:8080
volumes:
- ./keycloak/realm.json:/opt/keycloak/data/import/realm.json:ro
security_opt:
- no-new-privileges:true