Skip to content

Commit

Permalink
chore: update health check to match studio docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
sweatybridge authored Apr 8, 2024
1 parent 95e98d4 commit 3f8d8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ EOF
"HOSTNAME=0.0.0.0",
},
Healthcheck: &container.HealthConfig{
Test: []string{"CMD", "node", "-e", "require('http').get('http://127.0.0.1:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})"},
Test: []string{"CMD", "node", "-e", "fetch('http://127.0.0.1:3000/api/profile', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})"},
Interval: 10 * time.Second,
Timeout: 2 * time.Second,
Retries: 3,
Expand Down

0 comments on commit 3f8d8a8

Please sign in to comment.