All images and camera status arrive via the Gundi push since 2026-10-16. Drop the melesicumover service from docker-compose.yaml, make the receiver the image's default command and mark the poller docs as historical. main.py stays as the library the receiver imports. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
services:
|
|
# Der fruehere S3-Poller (Dienst melesicumover, CMD des Images: main.py) ist seit
|
|
# 2026-10-16 stillgelegt; alle Bilder kommen ueber den Gundi-Push. main.py bleibt
|
|
# als Bibliothek (Konfiguration, S3, OCR, EXIF) fuer den Receiver im Image.
|
|
#
|
|
# Debugging nur bei Bedarf, lokal: DEBUG auf "1" und einen Port NUR an localhost
|
|
# binden (z. B. "127.0.0.1:5678:5678").
|
|
|
|
# Gundi-v2-Push-Empfaenger. Nur an localhost gebunden - TLS und oeffentliche
|
|
# Erreichbarkeit uebernimmt nginx (icu.meles.eu). Secrets aus der lokalen .env
|
|
# (nicht im Image, nicht im Git).
|
|
gundi-receiver:
|
|
build: .
|
|
container_name: melesicumover-gundi
|
|
restart: unless-stopped
|
|
command: ["python", "/app/gundi_receiver.py"]
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
CONFIG_YAML: /app/config.yaml
|
|
DEBUG: "0"
|
|
ports:
|
|
- "127.0.0.1:8090:8090"
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8090/healthz', timeout=3)"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 20s
|