mirror of
http://88.130.71.182:3000/BlitTech/deals24togo_be.git
synced 2026-06-12 23:33:21 +00:00
23 lines
490 B
YAML
23 lines
490 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
api:
|
|
build: .
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
- APP_ENV=development
|
|
- DEBUG=true
|
|
volumes:
|
|
- .:/app
|
|
command: >
|
|
uvicorn app.main:create_app --factory
|
|
--host 0.0.0.0 --port 8000 --reload
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import httpx; r = httpx.get('http://localhost:8000/health'); r.raise_for_status()"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|