37 lines
977 B
YAML
Executable File
37 lines
977 B
YAML
Executable File
services:
|
|
ollama:
|
|
image: ollama/ollama:latest
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ollama:/root/.ollama
|
|
ports:
|
|
- "11434:11434"
|
|
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: apps/web/Dockerfile
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
depends_on:
|
|
ollama:
|
|
condition: service_started
|
|
environment:
|
|
DATABASE_URL: ${DOCKER_DATABASE_URL:-postgresql://adventureos:adventureos@host.docker.internal:5432/adventureos}
|
|
OLLAMA_URL: http://ollama:11434
|
|
SESSION_SECRET: ${SESSION_SECRET:-change-me-in-production}
|
|
CRON_SECRET: ${CRON_SECRET:-change-me-in-production}
|
|
AUTH_PASSWORD: ${AUTH_PASSWORD:-adventure}
|
|
CALIBRE_LIBRARY_PATH: /calibre-library
|
|
CALIBRE_READ_ONLY: "true"
|
|
volumes:
|
|
- /home/zaine/master-folder/projects/calibre/library:/calibre-library:ro
|
|
ports:
|
|
- "3060:3000"
|
|
|
|
volumes:
|
|
ollama:
|