c2bfa5ad82
- README/CONTRIBUTING quick start: add UPTOP_ADMIN_KEY so SSH works on fresh DB, fix single-file go run path that doesn't compile - apply --dry-run: assign placeholder IDs for new alerts and groups so resolveAlertID succeeds when monitors reference not-yet-created alerts - deploy/*.yml: switch user-facing compose files from broken build context to image: lerkolabs/uptop:latest, fix dev context to ..
26 lines
628 B
YAML
26 lines
628 B
YAML
services:
|
|
app:
|
|
image: lerkolabs/uptop:latest
|
|
container_name: uptop
|
|
restart: unless-stopped
|
|
read_only: true
|
|
cap_drop:
|
|
- ALL
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
tmpfs:
|
|
- /tmp
|
|
ports:
|
|
- "23234:23234"
|
|
- "8080:8080"
|
|
environment:
|
|
- UPTOP_DB_TYPE=sqlite
|
|
- UPTOP_DB_DSN=/data/uptop.db
|
|
- UPTOP_HTTP_PORT=8080
|
|
- UPTOP_STATUS_ENABLED=true
|
|
- UPTOP_STATUS_TITLE=System Status
|
|
# SSH access: add your public key via env var or authorized_keys file
|
|
# - UPTOP_ADMIN_KEY=ssh-ed25519 AAAA... you@host
|
|
volumes:
|
|
- ./data:/data
|