# APP_CORE Gatherer # Supported ENV overrides (Format: OVPMON_{SECTION}_{KEY}): # MONITOR: OVPMON_OPENVPN_MONITOR_DB_PATH, OVPMON_OPENVPN_MONITOR_LOG_PATH, OVPMON_OPENVPN_MONITOR_CHECK_INTERVAL # LOGGING: OVPMON_LOGGING_LEVEL, OVPMON_LOGGING_LOG_FILE # RETENTION: OVPMON_RETENTION_RAW_RETENTION_DAYS, OVPMON_RETENTION_AGG_5M_RETENTION_DAYS, etc. FROM python:3.12-alpine WORKDIR /app # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy application COPY . . # Ensure DB directory exists RUN mkdir -p /app/db CMD ["python", "openvpn_gatherer_v3.py"]