Initial commit: InfoUser Monitor with FastAPI, agent, Docker, JWT auth, notifications, filters and CSV export

This commit is contained in:
2026-07-16 11:53:51 +07:00
commit cf2727da2b
31 changed files with 1957 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
services:
app:
build: ./server
container_name: info-user-app
restart: unless-stopped
volumes:
- ./data:/app/data
environment:
- SECRET_KEY=${SECRET_KEY:-change-me-in-production}
- AGENT_TOKEN=${AGENT_TOKEN:-agent-secret-token}
- DATABASE_URL=sqlite:///./data/monitor.db
- ADMIN_USERNAME=${ADMIN_USERNAME:-admin}
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
- CREATE_ADMIN_ON_STARTUP=true
networks:
- info-user-net
nginx:
image: nginx:alpine
container_name: info-user-nginx
restart: unless-stopped
ports:
- "${HTTP_PORT:-80}:80"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- app
networks:
- info-user-net
networks:
info-user-net:
driver: bridge