From 592bb01f17f766e34394c4afcd662347e1e435eb Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 18 May 2026 13:35:37 +1000 Subject: [PATCH 1/2] Fix Docker app startup defaults --- Dockerfile | 1 + run.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4507c94..0eea82e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,4 +28,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY --from=builder /usr/local /usr/local/ COPY . . +RUN sed -i 's/\r$//' run.sh && chmod +x run.sh CMD ["/bin/bash", "run.sh"] diff --git a/run.sh b/run.sh index c32838a..52f79f0 100644 --- a/run.sh +++ b/run.sh @@ -12,7 +12,7 @@ set -e # Exit script immediately on failure PORT=${PORT:-5000} GUNICORN_WORKERS=${GUNICORN_WORKERS:-1} -GUNICORN_THREADS=${GUNICORN_THREADS:-0} +GUNICORN_THREADS=${GUNICORN_THREADS:-1} GUNICORN_TIMEOUT=${GUNICORN_TIMEOUT:-60} GUNICORN_KEEP_ALIVE=${GUNICORN_KEEP_ALIVE:-60} From b54dd0353a7df87c8ce213236c7aedd265b53cfc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 18 May 2026 13:35:46 +1000 Subject: [PATCH 2/2] Remove unused Docker compose network --- docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4be9089..98c222b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,6 @@ services: - postgres networks: - db_nw - - web_nw ports: - "8000:5000" restart: unless-stopped @@ -44,7 +43,5 @@ services: networks: db_nw: driver: bridge - web_nw: - driver: bridge volumes: - dbdata: \ No newline at end of file + dbdata: