- Created a new template for displaying a list of data files in `file_list.html`, including file details and actions for downloading and viewing file details. - Added a new template for displaying recording sessions in `session_list.html`, featuring session status, details, and action buttons for stopping recordings and viewing session details. - Introduced a legacy dashboard template `slm_legacy_dashboard.html` for sound level meter control, including a live view panel and configuration modal with dynamic content loading.
72 lines
1.5 KiB
YAML
72 lines
1.5 KiB
YAML
services:
|
|
|
|
# --- TERRA-VIEW PRODUCTION ---
|
|
terra-view-prod:
|
|
build: .
|
|
container_name: terra-view
|
|
ports:
|
|
- "8001:8001"
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- ENVIRONMENT=production
|
|
- SLMM_BASE_URL=http://slmm:8100
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- slmm
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
# --- TERRA-VIEW DEVELOPMENT ---
|
|
# terra-view-dev:
|
|
# build: .
|
|
# container_name: terra-view-dev
|
|
# ports:
|
|
# - "1001:8001"
|
|
# volumes:
|
|
# - ./data-dev:/app/data
|
|
# environment:
|
|
# - PYTHONUNBUFFERED=1
|
|
# - ENVIRONMENT=development
|
|
# - SLMM_BASE_URL=http://slmm:8100
|
|
# restart: unless-stopped
|
|
# depends_on:
|
|
# - slmm
|
|
# healthcheck:
|
|
# test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
|
|
# interval: 30s
|
|
# timeout: 10s
|
|
# retries: 3
|
|
# start_period: 40s
|
|
|
|
# --- SLMM (Sound Level Meter Manager) ---
|
|
slmm:
|
|
build:
|
|
context: ../slmm
|
|
dockerfile: Dockerfile
|
|
container_name: slmm
|
|
ports:
|
|
- "8100:8100"
|
|
volumes:
|
|
- ../slmm/data:/app/data
|
|
environment:
|
|
- PYTHONUNBUFFERED=1
|
|
- PORT=8100
|
|
- CORS_ORIGINS=*
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8100/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
data:
|
|
data-dev:
|