v0.2.2-series4 endpoint added, dev branch set up at :1001

This commit is contained in:
serversdwn
2025-12-08 22:15:54 +00:00
parent 83593f7b33
commit 690669c697
8 changed files with 206 additions and 13 deletions

View File

@@ -1,16 +1,35 @@
version: '3.8'
services:
# --- PRODUCTION ---
seismo-backend:
build: .
container_name: seismo-fleet-manager
ports:
- "8001:8001"
volumes:
# Persist SQLite database and photos
- ./data:/app/data
environment:
- PYTHONUNBUFFERED=1
- ENVIRONMENT=production
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# --- DEVELOPMENT ---
sfm-dev:
build: .
container_name: sfm-dev
ports:
- "1001:8001"
volumes:
- ./data-dev:/app/data
environment:
- PYTHONUNBUFFERED=1
- ENVIRONMENT=development
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
@@ -21,3 +40,4 @@ services:
volumes:
data:
data-dev: