initial commit

This commit is contained in:
ray
2026-07-12 10:17:17 -04:00
commit dab5a4ebc6
1424 changed files with 330463 additions and 0 deletions
@@ -0,0 +1,20 @@
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
curl ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV DASHBOARD_PORT=5000
ENV HERMES_HOME=/home/hermes/.hermes
ENV PYTHONPATH=/home/hermes/.hermes/hermes-agent
EXPOSE 5000
CMD ["python", "app.py"]
@@ -0,0 +1,20 @@
services:
hermes-dashboard:
build: .
container_name: hermes-dashboard
restart: unless-stopped
ports:
- "127.0.0.1:8788:5000"
volumes:
- /home/ray/.hermes:/home/hermes/.hermes
env_file:
- .env
environment:
- HERMES_HOME=/home/hermes/.hermes
networks:
- hermes-net
networks:
hermes-net:
external: true
name: hermes-net
@@ -0,0 +1,18 @@
server {
listen 3445 ssl;
server_name grajmedia.duckdns.org;
ssl_certificate /etc/letsencrypt/live/grajmedia.duckdns.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/grajmedia.duckdns.org/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_pass http://127.0.0.1:8788;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}