Initial commit: InfoUser Monitor with FastAPI, agent, Docker, JWT auth, notifications, filters and CSV export
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user