mirror of
https://github.com/db9979/tiefenkontakt.git
synced 2026-12-05 12:24:12 +01:00
- Escorts: bridge lookouts (periscope feather, snorkel, surfaced boats, torpedo tracks), spoken sighting reports, 3D bridge station with binoculars and own foredeck, lookout hit inset - 3D sea split into models/shaders: multi-wave ocean with whitecaps, clouds, sun and moon, detailed ships with smoke and turning radar - Radar room rebuilt as phosphor PPI with range scales, ESM rose and radar status; NATO symbols on plot, mission charts and replay - Sortable and filterable contact list, leaderboard and alert log; smoothed list bearings; clear convoy progress bar - Ops: backups, metrics, structured logs, CI, Elo ratings, private matches, corvette and coastal sub, network load test - Mail: configurable SMTP (Gmail/iCloud), signal-style HTML mails with inline sonar header, mail test command - Fixes: spoofable client IP behind proxy, phone layout and lost taps, stacked debriefs, station 5 rejected by server - Raspberry Pi deploy script and .env.example
43 lines
1.8 KiB
YAML
43 lines
1.8 KiB
YAML
# docker compose up -d --build → http://localhost:8787 (HOST_PORT=… for another port; put your HTTPS reverse proxy in front)
|
|
services:
|
|
tiefenkontakt:
|
|
build: .
|
|
image: tiefenkontakt:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HOST_PORT:-8787}:8787"
|
|
environment:
|
|
# Public address used in account mails (verify / reset links)
|
|
PUBLIC_URL: ${PUBLIC_URL:-http://localhost:8787}
|
|
# Comma-separated callsigns of moderator accounts
|
|
ADMIN: ${ADMIN:-}
|
|
# Outgoing mail (see .env.example for Gmail / iCloud); empty SMTP_HOST = links go to the log
|
|
SMTP_HOST: ${SMTP_HOST:-}
|
|
SMTP_PORT: ${SMTP_PORT:-}
|
|
SMTP_SECURITY: ${SMTP_SECURITY:-}
|
|
SMTP_USER: ${SMTP_USER:-}
|
|
SMTP_PASS: ${SMTP_PASS:-}
|
|
SMTP_TLS_VERIFY: ${SMTP_TLS_VERIFY:-1}
|
|
SMTP_TIMEOUT_S: ${SMTP_TIMEOUT_S:-20}
|
|
MAIL_FROM: ${MAIL_FROM:-}
|
|
MAIL_FROM_NAME: ${MAIL_FROM_NAME:-Tiefenkontakt}
|
|
MAIL_REPLY_TO: ${MAIL_REPLY_TO:-}
|
|
# Older single-line form, still accepted: smtps://user:pass@host:465
|
|
SMTP_URL: ${SMTP_URL:-}
|
|
# 1 behind an HTTPS proxy (Secure cookie); 0 for plain HTTP on localhost
|
|
COOKIE_SECURE: ${COOKIE_SECURE:-0}
|
|
# Daily database copy in the data volume (/data/backups), newest 7 kept
|
|
BACKUP_KEEP: ${BACKUP_KEEP:-7}
|
|
BACKUP_EVERY_H: ${BACKUP_EVERY_H:-24}
|
|
# Bearer token for GET /api/metrics (?format=prom for Prometheus); empty = moderators only
|
|
METRICS_TOKEN: ${METRICS_TOKEN:-}
|
|
# Seconds between saves of running matches (higher = fewer writes on SD cards)
|
|
MATCH_SAVE_S: ${MATCH_SAVE_S:-5}
|
|
# json = one JSON object per log line (for log collectors)
|
|
LOG_FORMAT: ${LOG_FORMAT:-}
|
|
volumes:
|
|
- tiefenkontakt-data:/data
|
|
stop_grace_period: 15s
|
|
volumes:
|
|
tiefenkontakt-data:
|