Files
CodeGenerator/docker-compose.yml

24 lines
545 B
YAML

services:
codegenerator:
build:
context: .
dockerfile: Dockerfile
container_name: codegenerator
environment:
- OLLAMA_BASE_URL=http://host.docker.internal:11434
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- codegen-data:/app/data
- /tmp/docker-data:/tmp/docker-data
ports:
- "3000:3000"
extra_hosts:
- "host.docker.internal:host-gateway"
privileged: true
restart: unless-stopped
volumes:
codegen-data: