feat: add docker support for hermes

This commit is contained in:
Schubert Ferenc 2026-07-01 20:16:36 +02:00
parent e42be90e01
commit 3d53a94d59
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,5 @@
.venv
.git
__pycache__
.pytest_cache
*.pyc

View file

@ -0,0 +1,21 @@
services:
hermes:
build: .
container_name: hermes-api
restart: unless-stopped
ports:
- "8000:8000"
environment:
DATABASE_URL: postgresql://olympus:DEIN_PASSWORT@olympus-db:5432/olympus
networks:
- olympus-network
networks:
olympus-network:
external: true

13
backend/hermes/dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM python:3.13-slim
WORKDIR /app
COPY . .
RUN pip install uv
RUN uv sync
EXPOSE 8000
CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]