admin / unifi-insight.yml

Last active 1 month ago

Like 0

admin revised this gist 1 month ago · 37b69a5

1 file changed, 5 insertions, 5 deletions

unifi-insight.yml
@@ -20,11 +20,11 @@ services:
20 20 - ./maxmind:/app/maxmind
21 21
22 22 environment:
23 - SECRET_KEY: "1da611b1e6d0e9a2959a752cc6bb51473286e37b584235d12db60c549e110aec"
24 - POSTGRES_PASSWORD: "Rhodes2000!"
25 - ABUSEIPDB_API_KEY: "824d6386d9b0bb6641a1f4e547b75ebc294d7d772c61e63efb2ff14ec06a5048d94c6c37f610a179"
26 - MAXMIND_ACCOUNT_ID: "1346279"
27 - MAXMIND_LICENSE_KEY: "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"
23 + SECRET_KEY: "************************"
24 + POSTGRES_PASSWORD: "***********************"
25 + ABUSEIPDB_API_KEY: "*****************************************"
26 + MAXMIND_ACCOUNT_ID: "************************************"
27 + MAXMIND_LICENSE_KEY: "***************************"
28 28 TZ: "America/Detroit"
29 29
30 30 healthcheck:

admin revised this gist 1 month ago · c2462aa

1 file changed, 39 insertions

unifi-insight.yml (file created)
@@ -0,0 +1,39 @@
1 + services:
2 + unifi-log-insight:
3 + image: ghcr.io/jmasarweh/unifi-log-insight:latest
4 + pull_policy: always
5 + container_name: unifi-log-insight
6 + restart: unless-stopped
7 + shm_size: '256mb'
8 + logging:
9 + driver: "json-file"
10 + options:
11 + max-size: "10m"
12 + max-file: "5"
13 +
14 + ports:
15 + - "514:514/udp"
16 + - "8090:8000"
17 +
18 + volumes:
19 + - pgdata:/var/lib/postgresql/data
20 + - ./maxmind:/app/maxmind
21 +
22 + environment:
23 + SECRET_KEY: "1da611b1e6d0e9a2959a752cc6bb51473286e37b584235d12db60c549e110aec"
24 + POSTGRES_PASSWORD: "Rhodes2000!"
25 + ABUSEIPDB_API_KEY: "824d6386d9b0bb6641a1f4e547b75ebc294d7d772c61e63efb2ff14ec06a5048d94c6c37f610a179"
26 + MAXMIND_ACCOUNT_ID: "1346279"
27 + MAXMIND_LICENSE_KEY: "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"
28 + TZ: "America/Detroit"
29 +
30 + healthcheck:
31 + test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
32 + interval: 15s
33 + timeout: 10s
34 + retries: 10
35 + start_period: 90s
36 +
37 + volumes:
38 + pgdata:
39 + name: unifi-log-insight-pgdata