chore(dashboard): build workarounds + deploy config
Some checks failed
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Docker Build Check (push) Has been cancelled
CI / Lint (push) Has been cancelled

(damascus-dashboard is archived on Gitea; this is a local-only commit
that documents the build workarounds and deploy files in tree.)
This commit is contained in:
root
2026-06-27 16:44:15 +00:00
parent 7a8214f5e7
commit aec9d2a544
3 changed files with 44 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
dist/

22
docker-compose.yml Normal file
View File

@@ -0,0 +1,22 @@
services:
dashboard:
image: nginx:alpine
container_name: damascus-dashboard
volumes:
- ./dist:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- litellm_hermes-net
extra_hosts:
- "host.docker.internal:172.19.0.1"
labels:
- "traefik.enable=true"
- "traefik.http.routers.damascus-dashboard.rule=Host(`dashboard.damascusfront.net`)"
- "traefik.http.routers.damascus-dashboard.entrypoints=websecure"
- "traefik.http.routers.damascus-dashboard.tls.certresolver=cloudflare"
- "traefik.http.services.damascus-dashboard.loadbalancer.server.port=80"
restart: unless-stopped
networks:
litellm_hermes-net:
external: true

21
nginx.conf Normal file
View File

@@ -0,0 +1,21 @@
server {
listen 80;
server_name dashboard.hermes.damascusfront.net;
# Static files
root /usr/share/nginx/html;
index index.html;
# SPA fallback
location / {
try_files $uri $uri/ /index.html;
}
# Proxy API calls to v3 API server on host
location /api/ {
proxy_pass http://host.docker.internal:5170/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}