fixes
Server Deploy / deploy (push) Successful in 2m24s

This commit is contained in:
2026-07-27 15:59:45 +01:00
parent fdfe8e8e46
commit 66140aaf58
8 changed files with 97 additions and 14 deletions
+24
View File
@@ -0,0 +1,24 @@
# Vantage self-hosted — copy to .env and fill in.
# Used by: docker compose up -d
# --- Required ---
# host:port agents dial for gRPC. No default; boot fails without it.
# Must be reachable from managed servers. Use the public host, port 9090.
GRPC_HOST=192.168.1.250:9090
# Gitea host used to build agent install scripts and download URLs.
GITEA_HOST=gitea.hostxtra.co.uk
# 64-char hex (32 bytes) for AES-256-GCM. Required for private keys,
# secrets, OIDC secrets, RDP/VNC credentials.
# Generate: openssl rand -hex 32
KEY_ENCRYPTION_KEY=
# --- Optional (defaults shown) ---
# MongoDB is bundled in this compose file. Override only to use an external DB.
MONGO_URI=mongodb://mongo:27017/vantage
# Where workflow run logs are written inside the server container.
# VANTAGE_WORKFLOW_LOG_DIR=/data/workflow-logs
+18 -1
View File
@@ -12,6 +12,21 @@ services:
interval: 10s
timeout: 5s
retries: 5
mongo:
image: mongo:7
restart: unless-stopped
volumes:
- mongo_data:/data/db
healthcheck:
test:
- CMD
- mongosh
- --quiet
- --eval
- "db.adminCommand('ping')"
interval: 10s
timeout: 5s
retries: 5
guacd:
image: docker.io/guacamole/guacd:1.6.0
restart: unless-stopped
@@ -24,7 +39,7 @@ services:
- 8080:8080
- 9090:9090
environment:
MONGO_URI: ${MONGO_URI:-}
MONGO_URI: ${MONGO_URI:-mongodb://mongo:27017/vantage}
REDIS_ADDR: redis:6379
GITEA_HOST: ${GITEA_HOST}
GRPC_HOST: ${GRPC_HOST}
@@ -37,6 +52,8 @@ services:
depends_on:
redis:
condition: service_healthy
mongo:
condition: service_healthy
volumes:
- ./data:/data
web: