Files
void-sentinel/docker-compose.yml
2026-01-03 00:29:30 +05:30

46 lines
1.0 KiB
YAML

services:
void-sentinel:
build: .
environment:
- RUST_LOG
- API_KEY
- DISCORD_TOKEN
- SURREAL_ADDRESS
- SURREAL_USER
- SURREAL_PASS
- SURREAL_NS
- SURREAL_DB
- NVIDIA_API_KEY
- OLLAMA_SERVER_URL
- OLLAMA_MODEL
- AI_CHAT_COOLDOWN_MS
- BOT_OWNER_ID
- IGNORE_RUDE
- API_PORT=8080
restart: unless-stopped
healthcheck:
test: [ "CMD", "curl", "-H", "X-API-Key: ${API_KEY}", "-f", "http://localhost:8080/api/beta_testing" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
web:
build: ./web
ports:
- "3000:3000"
environment:
- AUTH_SECRET
- AUTH_DISCORD_ID
- AUTH_DISCORD_SECRET
- BOT_API_KEY
- APP_URL
- AUTH_URL=https://voidsentinel.systems
- AUTH_TRUST_HOST=true
- BOT_API_URL=http://void-sentinel:8080
- NODE_ENV=production
depends_on:
void-sentinel:
condition: service_healthy
restart: unless-stopped