TRXTD/docker-compose.yml
Tronax b506ffad55
feat(docker): add self-hosted all-in-one container setup
- Add Dockerfile (multi-stage build, unprivileged user, healthcheck),
  docker-compose.yml and .dockerignore
- Server now serves static dist/ frontend and WebSocket relay on a
  single port (PORT, default 3001) with path-traversal protection,
  immutable asset caching and SPA fallback
- Client connects via same origin in production; dedicated ws port is
  only used for vite dev/preview
- Document Docker usage, env vars and manual production mode in README
2026-08-16 12:15:52 +02:00

10 lines
176 B
YAML

services:
trxtd:
build: .
image: trxtd:latest
container_name: trxtd
ports:
- "3001:3001"
restart: unless-stopped
environment:
- PORT=3001