mirror of
https://github.com/hhftechnology/vps-monitor.git
synced 2026-04-26 10:41:00 +00:00
Introduce a full Settings feature: frontend settings pages, components, hooks, API clients and types to manage Docker hosts, Coolify hosts, authentication, and read-only mode. Backend support added (settings handlers, config manager, Coolify client, registry service and related updates) and get-containers now returns hostErrors and coolifyConfigured so the UI can surface unavailable hosts. UI improvements include a Radix Switch component, a Settings button in the containers toolbar, and a host error banner on the dashboard. Environment, compose and packaging updates add DOCKER_HOSTS, COOLIFY_CONFIGS, READONLY_MODE docs and docker-compose volume; also remove an old auth handler file.
24 lines
682 B
YAML
24 lines
682 B
YAML
services:
|
|
vps-monitor:
|
|
build:
|
|
context: .
|
|
dockerfile: ./home/Dockerfile
|
|
ports:
|
|
- "6789:6789"
|
|
environment:
|
|
- JWT_SECRET=${JWT_SECRET}
|
|
- ADMIN_USERNAME=${ADMIN_USERNAME}
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD}
|
|
- ADMIN_PASSWORD_SALT=${ADMIN_PASSWORD_SALT}
|
|
- DOCKER_HOST=${DOCKER_HOST:-unix:///var/run/docker.sock}
|
|
- DOCKER_HOSTS=${DOCKER_HOSTS:-}
|
|
- COOLIFY_CONFIGS=${COOLIFY_CONFIGS:-}
|
|
- READONLY_MODE=${READONLY_MODE:-false}
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- /root/.ssh:/root/.ssh:ro
|
|
- /proc:/host/proc:ro
|
|
- vps-monitor-data:/data
|
|
|
|
volumes:
|
|
vps-monitor-data:
|