Skip to content
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
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
5 changes: 1 addition & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ services:
- postgres
networks:
- db_nw
- web_nw
ports:
- "8000:5000"
restart: unless-stopped
Expand Down Expand Up @@ -44,7 +43,5 @@ services:
networks:
db_nw:
driver: bridge
web_nw:
driver: bridge
volumes:
dbdata:
dbdata:
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down