version: '3.8'
services:
selfware:
build:
context: .
dockerfile: Dockerfile
image: selfware:latest
container_name: selfware
working_dir: /workspace
environment:
- SELFWARE_ENDPOINT=${SELFWARE_ENDPOINT:-http://host.docker.internal:8000/v1}
- SELFWARE_MODEL=${SELFWARE_MODEL:-qwen3.5-27b}
- SELFWARE_MAX_TOKENS=${SELFWARE_MAX_TOKENS:-131072}
- SELFWARE_TIMEOUT=${SELFWARE_TIMEOUT:-300}
- RUST_LOG=info
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- .:/workspace:rw
stdin_open: true
tty: true
entrypoint: ["sleep"]
command: ["infinity"]