Self-contained Dockerized build for end users. Run via docker compose; see README.md for setup. Source-only, no sample data or build artifacts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
19 lines
649 B
YAML
19 lines
649 B
YAML
# Linux variant — run: docker compose -f docker-compose.linux.yml up -d
|
|
#
|
|
# Uses host networking, so the container sees Ollama / LM Studio on plain
|
|
# localhost exactly like a native install. No URL or firewall fiddling, and
|
|
# Ollama can stay bound to 127.0.0.1. (Host networking is a Linux-only
|
|
# Docker feature; macOS/Windows users should use docker-compose.yml.)
|
|
services:
|
|
assignment-creator:
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
network_mode: host # app serves on localhost:3000, talks to localhost:11434
|
|
volumes:
|
|
- assignment-data:/app/data
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
assignment-data:
|