Skip to content

database not reciving alerts #29

Description

@blazinpancakes

First of all, wanted to say thank you for this project, I wouldn't be surprised if BI would add something like this or even this as part of the ALPR feature set.

I'm getting ALPR alerts w/ the plate number on BI but after setting up thealert with web request I'm not getting anything populated.

I did change the port from 3000 to 4000 and made sure to make that change on the alert and tried several alerts with plate & memo and got no luck

Attached is my docker compose, I do host a handful of other items, but I don't think that impacted anything.

version: "3.9"

networks:
rustdesk-net:
external: false
nc-net:
external: false

services:
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- WEBUI_PORT=8090
volumes:
# - /media/downloads:z
- /media/2tb/qbt/config:/config:z
- /media:/media:z
ports:
- 8090:8090
- 6881:6881
- 6881:6881/udp
restart: unless-stopped
plex:
image: linuxserver/plex:latest
container_name: plex
restart: unless-stopped
environment:
- TZ=America/Chicago
- PUID=1000
- PGID=1000
- VERSION=docker
volumes:
- /media:/media:z
- /media/Media/DockerLinks/PlexLinks/config:/config:z
network_mode: host

tautulli:
image: ghcr.io/tautulli/tautulli
container_name: tautulli
restart: unless-stopped
volumes:
- /media/Media/tautulli/config:/config:z
environment:
- TZ=America/Chicago
- PUID=1000
- PGID=1000
ports:
- 8181:8181
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
ports:
- 3030:3000
volumes:
- /media:/media:z
- /media/Media/hompage:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integration
restart: unless-stopped

homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /media/Media/homeassistnat/DockerLinks:/config
- /etc/localtime:/etc/localtime:ro
restart: unless-stopped
privileged: true
ports:
- 8123:8123

heimdall:
image: lscr.io/linuxserver/heimdall:latest
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=America/Chicago
volumes:
- /media/Media/DockerLinks/HeimdallLinks/config:/config
ports:
- 80:80
- 443:443
restart: unless-stopped

palworld-dedicated-server:
#build: .
container_name: palworld-dedicated-server
image: jammsen/palworld-dedicated-server:latest
restart: unless-stopped
ports:
- target: 8211 # Gamerserver port inside of the container
published: 8211 # Gamerserver port on your host
protocol: udp
mode: host
- target: 25575 # RCON port inside of the container
published: 25575 # RCON port on your host
protocol: tcp
mode: host
env_file:
- ./default.env
volumes:
- ./game:/palworld

audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
ports:
- 13378:80
volumes:
- /media/3rd2tb/audiobookshelf/audiobooks:/audiobooks:z
- /media/3rd2tb/audiobookshelf/podcasts:/podcasts:z
- /media/Media/DockerLinks/audiobookshelf/config:/config:z
- /media/3rd2tb/audiobookshelf/metadata:/metadata:z
environment:
- TZ=America/Chicago
restart: unless-stopped

nessus:
image: tenable/nessus:10.6.1-ubuntu
restart: always
container_name: nessus
environment:
USERNAME: alex
PASSWORD: fakepassowrd
ACTIVATION_CODE: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
ports:
- 8834:8834

valheim:
image: mbround18/valheim:latest
ports:
- 2456:2456/udp
- 2457:2457/udp
- 2458:2458/udp
environment:
PORT: 2456
NAME: "Blazin"
WORLD: "Dedicated"
PASSWORD: "fakepassword"
TZ: "America/Chicago"
PUBLIC: 1
volumes:
- /media:/media:z
- /media/media/DockerLinks/Valheim/saves:/home/steam/.config/unity3d/IronGate/Valheim:z
- /media/media/DockerLinks/Valheim/server:/home/steam/valheim:z

CodeProjectAI:
image: codeproject/ai-server
container_name: codeproject-ai-server-cpu
hostname: codeproject-ai-server
restart: unless-stopped
ports:
- "32168:32168"
environment:
- TZ=America/Toronto
alpr:
image: algertc/alpr-dashboard:latest
restart: unless-stopped
ports:
- "4000:3000" # Change the first port to the port you want to expose
environment:
- NODE_ENV=production
- ADMIN_PASSWORD=fakepassowrd # Change this to a secure password
- DB_PASSWORD=fakepassowrd # Change this to match your postgres password
depends_on:
- db
volumes:
- app-auth:/app/auth
- app-config:/app/config

db:
image: postgres:13
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=fakepassowrd # Change this to a secure password
volumes:
- db-data:/var/lib/postgresql/data:z
- ./schema.sql:/docker-entrypoint-initdb.d/schema.sql:z
- ./migrations.sql:/migrations.sql:z

# Make sure you download the migrations.sql file if you are updating your existing database.
# Place it in the same directory as your docker-compose.yml and schema.sql files. If you changed the user or database name, you will need to plug those values into the command below.
command: >
  bash -c "
    docker-entrypoint.sh postgres &
    until pg_isready; do sleep 1; done;
    psql -U postgres -d postgres -f /migrations.sql;
    wait
  "
ports:
  - "5432:5432"
healthcheck:
  test: ["CMD-SHELL", "pg_isready -U postgres"]
  interval: 10s
  timeout: 5s
  retries: 5

volumes:
db-data:
app-auth:
driver: local
driver_opts:
type: none
o: bind
device: ./auth
app-config:
driver: local
driver_opts:
type: none
o: bind
device: ./config

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions