Skip to content

Commit 1daeefe

Browse files
committed
fix(keto-client-wrapper): update healthcheck command and parameters in Dockerfile
1 parent acdb3c3 commit 1daeefe

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

packages/keto-client-wrapper/test/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ FROM getlarge/keto:v0.13.0
33
COPY ./keto.yaml /home/ory/keto.yaml
44
COPY ./namespaces.ts /home/ory/namespaces.ts
55

6-
HEALTHCHECK --interval=3s --timeout=3s --start-period=2s --retries=5 CMD [ 'wget -nv --spider -t1 http://localhost:4466/health/ready || exit 1' ]
6+
HEALTHCHECK --interval=30s --timeout=3s --start-period=2s --retries=3 CMD ["keto", "status", "--insecure-disable-transport-security", "--quiet"]
77

88
CMD ["serve", "--config", "/home/ory/keto.yaml"]

packages/keto-client-wrapper/test/docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ services:
44
ports:
55
- '44660:4466' # public
66
- '44670:4467' # admin
7-
command: serve -c /home/ory/keto.yaml
87
restart: on-failure

packages/keto-client-wrapper/test/keto.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ namespaces:
33
location: file:///home/ory/namespaces.ts
44
serve:
55
read:
6-
host: 0.0.0.0
6+
host: 127.0.0.1
77
port: 4466
88
write:
9-
host: 0.0.0.0
9+
host: 127.0.0.1
1010
port: 4467
1111
version: v0.13.0-alpha.0

0 commit comments

Comments
 (0)