chore: update environment configuration and dependencies

This commit is contained in:
2026-04-11 18:48:10 +02:00 Unverified
parent d5ea350598
commit 9e033ce045
8 changed files with 11 additions and 28 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ services:
container_name: theplug-api
restart: unless-stopped
ports:
- "${API_PORT:-8000}:8000"
- "${API_PORT:-3671}:3671"
environment:
DATABASE_URL: postgresql://${POSTGRES_USER:-theplug}:${POSTGRES_PASSWORD:-theplug_dev_password}@postgres:5432/${POSTGRES_DB:-theplug}
REDIS_URL: redis://redis:6379/0
@@ -16,7 +16,7 @@ services:
redis:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/').read()\""]
test: ["CMD-SHELL", "python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:3671/').read()\""]
interval: 10s
timeout: 5s
retries: 5