old leftovers from pre merge

This commit is contained in:
serversdwn
2026-01-09 19:41:16 +00:00
parent 893cb96e8d
commit ee025f1f34
3 changed files with 926 additions and 28 deletions

View File

@@ -4,14 +4,14 @@ services:
terra-view-prod:
build: .
container_name: terra-view
ports:
- "8001:8001"
network_mode: host
volumes:
- ./data:/app/data
environment:
- PYTHONUNBUFFERED=1
- ENVIRONMENT=production
- SLMM_BASE_URL=http://slmm:8100
- PORT=8001
- SLMM_BASE_URL=http://localhost:8100
restart: unless-stopped
depends_on:
- slmm
@@ -26,19 +26,21 @@ services:
terra-view-dev:
build: .
container_name: terra-view-dev
ports:
- "1001:8001"
network_mode: host
volumes:
- ./data-dev:/app/data
environment:
- PYTHONUNBUFFERED=1
- ENVIRONMENT=development
- SLMM_BASE_URL=http://slmm:8100
- PORT=1001
- SLMM_BASE_URL=http://localhost:8100
restart: unless-stopped
depends_on:
- slmm
profiles:
- dev
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
test: ["CMD", "curl", "-f", "http://localhost:1001/health"]
interval: 30s
timeout: 10s
retries: 3
@@ -50,8 +52,7 @@ services:
context: ../../slmm
dockerfile: Dockerfile
container_name: slmm
ports:
- "8100:8100"
network_mode: host
volumes:
- ../../slmm/data:/app/data
environment: