Skip to content

Commit 92c8c91

Browse files
authored
Update cyberchef default confs (#295)
- Update healthcheck command for cyberchef (use nginx) - Fixed default cyberchef/nginx port
1 parent c3ad665 commit 92c8c91

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

services/cyberchef/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SERVICE=cyberchef
77
IMAGE_URL=ghcr.io/gchq/cyberchef
88

99
# Network Configuration
10-
SERVICEPORT=80
10+
SERVICEPORT=8080
1111
DNS_SERVER=9.9.9.9
1212

1313
# Tailscale Configuration

services/cyberchef/compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ configs:
44
{"TCP":{"443":{"HTTPS":true}},
55
"Web":{"$${TS_CERT_DOMAIN}:443":
66
{"Handlers":{"/":
7-
{"Proxy":"http://127.0.0.1:80"}}}},
7+
{"Proxy":"http://127.0.0.1:8080"}}}},
88
"AllowFunnel":{"$${TS_CERT_DOMAIN}:443":false}}
99
1010
services:
@@ -58,7 +58,7 @@ services:
5858
tailscale:
5959
condition: service_healthy
6060
healthcheck:
61-
test: ["CMD", "pgrep", "-f", "${SERVICE}"] # Check if ${SERVICE} process is running
61+
test: ["CMD", "pgrep", "-f", "nginx"] # Check if ${SERVICE} process is running
6262
interval: 1m # How often to perform the check
6363
timeout: 10s # Time to wait for the check to succeed
6464
retries: 3 # Number of retries before marking as unhealthy

0 commit comments

Comments
 (0)