52 lines
1.1 KiB
YAML
52 lines
1.1 KiB
YAML
services:
|
|
|
|
terra-view:
|
|
build: .
|
|
ports:
|
|
- "8001:8001"
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- ENVIRONMENT=production
|
|
- SLMM_BASE_URL=http://host.docker.internal:8100
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- slmm
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
<<<<<<< HEAD
|
|
=======
|
|
# --- SLMM (Sound Level Meter Manager) ---
|
|
>>>>>>> 0c2186f5d89d948b0357d674c0773a67a67d8027
|
|
slmm:
|
|
build:
|
|
context: ../slmm
|
|
dockerfile: Dockerfile
|
|
network_mode: host
|
|
volumes:
|
|
- ../slmm/data:/app/data
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- PORT=8100
|
|
- CORS_ORIGINS=*
|
|
- TCP_IDLE_TTL=-1
|
|
- TCP_MAX_AGE=-1
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8100/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
data:
|