Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make healthy check work properly #246

Merged
merged 1 commit into from
Dec 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ docker run --init \
--name bytebase \
--restart always \
--publish 5678:8080 \
--health-cmd "curl --fail http://localhost:5678/healthz || exit 1" \
--health-cmd "curl --fail http://localhost:8080/healthz || exit 1" \
--health-interval 5m \
--health-timeout 5m \
--health-timeout 10s \
--volume ~/.bytebase/data:/var/opt/bytebase \
bytebase/bytebase:%%bb_version%% \
--data /var/opt/bytebase \
Expand Down
4 changes: 2 additions & 2 deletions content/docs/get-started/install/terminal-docker-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ docker run --init \
--name bytebase \
--restart always \
--publish 5678:8080 \
--health-cmd "curl --fail http://localhost:5678/healthz || exit 1" \
--health-cmd "curl --fail http://localhost:8080/healthz || exit 1" \
--health-interval 5m \
--health-timeout 5m \
--health-timeout 10s \
--volume ~/.bytebase/data:/var/opt/bytebase \
bytebase/bytebase:%%bb_version%% \
--data /var/opt/bytebase \
Expand Down
6 changes: 3 additions & 3 deletions content/docs/get-started/self-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ docker run --init \
--name bytebase \
--restart always \
--publish 80:8080 \
--health-cmd "curl --fail http://localhost:80/healthz || exit 1" \
--health-cmd "curl --fail http://localhost:8080/healthz || exit 1" \
--health-interval 5m \
--health-timeout 5m \
--health-timeout 10s \
--volume ~/.bytebase/data:/var/opt/bytebase \
bytebase/bytebase:%%bb_version%% \
--data /var/opt/bytebase \
Expand Down Expand Up @@ -137,7 +137,7 @@ spec:
port: 8080
initialDelaySeconds: 300
periodSeconds: 300
timeoutSeconds: 300
timeoutSeconds: 10
volumes:
- name: data
emptyDir: {}
Expand Down
Loading