build: full docker compose

This commit is contained in:
eneller
2025-07-03 10:35:32 +02:00
parent ee5ed62881
commit aab5a0dd3b
6 changed files with 155 additions and 110 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
name: epub2go-web
services:
app:
build:
context: .
dockerfile: Dockerfile
image: epub2go_web:latest
depends_on:
- redis
ports:
- "50000:50000"
env_file:
- .env
redis:
image: redis
celery:
image: epub2go_web:latest
depends_on:
- redis
- app
env_file:
- .env
command: uv run --directory=/app/src celery -A epub2go_web worker --loglevel=INFO