Monitoring api is now protected by key.

This commit is contained in:
Eduardo Silva 2024-04-15 13:59:13 -03:00
parent 847775f87a
commit ddb2304b64
7 changed files with 66 additions and 17 deletions

View file

@ -26,13 +26,14 @@ services:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- TZ=${TIMEZONE}
- COMPOSE_VERSION=02b
- COMPOSE_VERSION=02c
- COMPOSE_TYPE=with-postgres
volumes:
- sqlite_volume:/var/lib/routerfleet_sqlite/
- media_root:/var/lib/routerfleet/
- static_volume:/app_static_files/
- app_secrets:/app_secrets/
command: /bin/bash /app/init.sh
depends_on:
- routerfleet-postgres
@ -56,6 +57,8 @@ services:
dockerfile: Dockerfile-monitoring
environment:
- TZ=${TIMEZONE}
volumes:
- app_secrets:/app_secrets/
depends_on:
- routerfleet
@ -84,3 +87,4 @@ volumes:
media_root:
postgres_data:
sqlite_volume:
app_secrets: