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 webserver healthcheck issue #197

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,7 @@ rust-project.json

.vscode

swagger-codegen.json
swagger-codegen.json

# Ignore docker compose override files
docker-compose.override*
2 changes: 1 addition & 1 deletion docker-compose-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
image: postgres:16-alpine
command: ["postgres", "-c", "listen_addresses=0.0.0.0", "-c", "max_connections=200", "-p", "5433"]
expose:
- "5433" # Publishes 5432 to other containers but NOT to host machine
- "5433"
ports:
- "5433:5433"
environment:
Expand Down
2 changes: 1 addition & 1 deletion webserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FROM debian:bookworm-slim AS runtime
WORKDIR /app
COPY --from=builder /app/target/release/webserver /app/webserver

RUN apt-get update && apt-get install -y libpq5
RUN apt-get update && apt-get install -y libpq5 curl

WORKDIR /app

Expand Down
Loading