services: unifi-log-insight: image: ghcr.io/jmasarweh/unifi-log-insight:latest pull_policy: always container_name: unifi-log-insight restart: unless-stopped shm_size: '256mb' logging: driver: "json-file" options: max-size: "10m" max-file: "5" ports: - "514:514/udp" - "8090:8000" volumes: - pgdata:/var/lib/postgresql/data - ./maxmind:/app/maxmind environment: SECRET_KEY: "1da611b1e6d0e9a2959a752cc6bb51473286e37b584235d12db60c549e110aec" POSTGRES_PASSWORD: "Rhodes2000!" ABUSEIPDB_API_KEY: "824d6386d9b0bb6641a1f4e547b75ebc294d7d772c61e63efb2ff14ec06a5048d94c6c37f610a179" MAXMIND_ACCOUNT_ID: "1346279" MAXMIND_LICENSE_KEY: "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" TZ: "America/Detroit" healthcheck: test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"] interval: 15s timeout: 10s retries: 10 start_period: 90s volumes: pgdata: name: unifi-log-insight-pgdata