Files
terra-view/docker-compose.yml
2026-01-02 20:27:09 +00:00

45 lines
933 B
YAML

services:
# --- PRODUCTION ---
seismo-backend:
build: .
container_name: seismo-fleet-manager
ports:
- "8001:8001"
volumes:
- ./data:/app/data
environment:
- PYTHONUNBUFFERED=1
- ENVIRONMENT=production
- SLMM_BASE_URL=http://172.19.0.1:8100
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"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
volumes:
data:
data-dev: