Files
CameraSave/docker-compose.yml
2025-10-02 09:19:32 +02:00

20 lines
560 B
YAML

version: '3.8'
services:
camerasave:
build: .
container_name: camerasave
restart: unless-stopped
volumes:
- ./videospeicher:/app/videospeicher
environment:
# Überschreibe hier die E-Mail-Konfiguration wenn nötig
- IMAP_SERVER=secureimap.t-online.de
- IMAP_PORT=993
- EMAIL_USER=dk2ge@t-online.de
- EMAIL_PASS=ETBjw65tf2
# Führe das Skript alle 5 Minuten aus
command: >
sh -c "while true; do
python main.py && echo 'CameraSave ausgeführt um $$(date)' && sleep 300;
done"