Skip to content

Commit

Permalink
yaml lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davegarvey committed Mar 22, 2024
1 parent b97a1ca commit 47d54c3
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions deployments/keycloak-dcr/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: '3.3'
version: "3.3"
services:
keycloak-db:
image: postgres:9.6
Expand All @@ -10,17 +10,21 @@ services:
networks:
- tyk
ports:
- "25432:5432"
- 25432:5432
volumes:
- keycloak-data:/var/lib/postresql/data
healthcheck:
test: [ "CMD", "pg_isready", "-U", "keycloak" ]
test:
- CMD
- pg_isready
- -U
- keycloak
interval: 30s
timeout: 30s
retries: 3
restart: on-failure
deploy:
restart_policy:
restart_policy:
condition: on-failure
keycloak:
image: keycloak/keycloak:24.0.1
Expand All @@ -29,8 +33,9 @@ services:
networks:
- tyk
ports:
- "8180:8180"
command: ["start-dev"]
- 8180:8180
command:
- start-dev
environment:
KC_DB: postgres
KC_DB_URL_HOST: keycloak-db
Expand All @@ -43,4 +48,4 @@ services:
KC_HEALTH_ENABLED: true
KC_HTTP_PORT: 8180
volumes:
keycloak-data:
keycloak-data: null

0 comments on commit 47d54c3

Please sign in to comment.