fix: pgAdmin storage permissions and siren stationtype NOT NULL

- pgAdmin: use named volume for /var/lib/pgadmin instead of bind mount
  subdirectory (fixes permission denied on storage dir)
- Siren INSERT in sidesdecode.py: add stationtype=3 to both INSERT
  statements (fixes NOT NULL constraint violation)
This commit is contained in:
root
2026-05-21 02:24:53 +08:00
parent bbaf711d45
commit bb8d951287

View File

@@ -63,7 +63,8 @@ services:
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_EMAIL} - PGADMIN_DEFAULT_EMAIL=${PGADMIN_EMAIL}
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASSWORD} - PGADMIN_DEFAULT_PASSWORD=${PGADMIN_PASSWORD}
volumes: volumes:
- ./backup:/var/lib/pgadmin/storage/tck68000_gmail.com/backup:z - pgadmin_data:/var/lib/pgadmin
- ./backup:/backups
ports: ports:
- "5050:80" - "5050:80"
depends_on: depends_on:
@@ -87,3 +88,4 @@ services:
volumes: volumes:
pgdata: pgdata:
pgadmin_data: