- Add Dockerfile, .dockerignore, and docker-compose.yml to containerize the app - Add toroid.service systemd unit (uses docker compose) - Mount presets/ as a bind volume for persistence outside the container - Fix all fetch() calls in templates to use relative paths (no leading /) so they resolve correctly when served under /toroid/ via nginx proxy Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
136 B
YAML
9 lines
136 B
YAML
services:
|
|
toroid:
|
|
build: .
|
|
ports:
|
|
- "5010:5010"
|
|
volumes:
|
|
- ./presets:/app/presets
|
|
restart: unless-stopped
|