Enhance project configuration by setting output to "standalone" in Next.js config files and updating .gitignore to include example environment files for better clarity and management.
Some checks failed
CI / Bot (Python) (push) Failing after 12s
CI / Dashboard (Next.js) (push) Failing after 9s

This commit is contained in:
TheOnlyMace
2026-07-21 17:35:08 +02:00
parent b4110c3d66
commit 41d5841d82
10 changed files with 262 additions and 0 deletions

19
DOCKER.md Normal file
View File

@@ -0,0 +1,19 @@
# Docker
Copy `.env.docker.example` to `.env`, fill in secrets, then:
```bash
docker network create traefik-network # only if it does not exist yet
docker compose up -d --build
```
| Service | Container | Exposure |
|---------|-----------|----------|
| Bot + FastAPI | `hexahost-bot` | Internal (`bot:8000`) — Discord Gateway outbound |
| Dashboard | `hexahost-dashboard` | Traefik → `https://bot.hexahost.de` |
Data volumes: `bot-db`, `bot-jsondb`, `bot-logs`.
Discord OAuth redirect: `https://bot.hexahost.de/api/auth/callback/discord`
If your Traefik cert resolver is not named `letsencrypt`, set `TRAEFIK_CERT_RESOLVER` in `.env`. Entrypoints expected: `web` (80) and `websecure` (443).