update: Add Global Search on Header, Add Global Audit log for all actions.

This commit is contained in:
2026-04-19 15:41:29 +03:00
parent 4f35bef6e3
commit 6a958a8d7d
27 changed files with 2086 additions and 267 deletions

View File

@@ -1,7 +1,7 @@
services:
backend:
build: ./backend
container_name: bellsystems-backend-v2
container_name: bellsystems-backend
env_file: .env
volumes:
- ./backend:/app
@@ -11,29 +11,27 @@ services:
- ./data/flash_assets:/app/storage/flash_assets
- ./data/firebase-service-account.json:/app/firebase-service-account.json:ro
ports:
- "8002:8000" # different port — v1 backend runs on 8000
depends_on:
postgres:
condition: service_healthy
- "8000:8000"
networks:
- internal
frontend:
build: ./frontend
container_name: bellsystems-frontend-v2
container_name: bellsystems-frontend
volumes:
- ./frontend:/app
- /app/node_modules
ports:
- "5174:5174" # different port — v1 frontend runs on 5173
- "5173:5174"
- "8001:5174"
networks:
- internal
nginx:
image: nginx:alpine
container_name: bellsystems-nginx-v2
container_name: bellsystems-nginx
ports:
- "8001:80" # access v2 on localhost:8001
- "80:80" # access v2 on localhost:8001
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
@@ -42,26 +40,6 @@ services:
networks:
- internal
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- internal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data:
networks:
internal:
driver: bridge