Skip to content

Commit c059c7f

Browse files
committed
fix healthcheck
1 parent 4488aaa commit c059c7f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

composes-files/focalboard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ services:
2828
- $DATA_LOCATION/$SERVICE/data:/opt/focalboard/data
2929
- $DATA_LOCATION/$SERVICE/config.json:/opt/focalboard/config.json
3030
healthcheck:
31-
test: wget -nv -t1 --spider 'http://localhost:8000'
32-
interval: 1m
33-
timeout: 30s
31+
test: ["CMD", "bash", "-c", "exec 5<>/dev/tcp/127.0.0.1/8000"]
32+
interval: 5s
33+
timeout: 5s
3434
retries: 3
3535
depends_on:
3636
- focalboard-db

0 commit comments

Comments
 (0)