Simple start

This commit is contained in:
2026-02-11 11:46:23 +01:00
parent f14515e9cf
commit 0cbff0440d
2 changed files with 82 additions and 0 deletions

22
docker-compose.simple.yml Normal file
View File

@@ -0,0 +1,22 @@
version: '3.8'
services:
linkedin-posts:
build: .
container_name: linkedin-posts
restart: unless-stopped
ports:
- "127.0.0.1:8001:8001" # Nur lokal erreichbar
env_file:
- .env
environment:
- PYTHONPATH=/app
- PORT=8001
volumes:
- ./logs:/app/logs
healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8001/login', timeout=5)"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s