Original Setup

This commit is contained in:
2026-07-23 22:08:29 +00:00
parent 9b1ae78a1c
commit e6cad8554d
9 changed files with 286 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
RUN pip install --no-cache-dir \
flask \
gunicorn
COPY . .
EXPOSE 5000
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app_base"]
+18
View File
@@ -0,0 +1,18 @@
services:
homepage:
restart: unless-stopped
container_name: home-page
build: .
volumes:
- ./images:/app/images:ro
- ./templates:/app/templates:ro
networks:
- reverse_proxy_default
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "3"
networks:
reverse_proxy_default:
external: true