File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,31 @@ services:
8282docker compose up -d
8383```
8484
85+ ## Using with Remote Ollama Server
86+
87+ If your Ollama server is on a different machine in your local network:
88+
89+ ``` yaml
90+ version : ' 3.8'
91+
92+ services :
93+ translate-book :
94+ image : ghcr.io/hydropix/translatebookswithllms:latest
95+ ports :
96+ - " 5000:5000"
97+ environment :
98+ - API_ENDPOINT=http://ollama-server.local:11434/api/generate
99+ - LLM_PROVIDER=ollama
100+ extra_hosts :
101+ # Map hostname to IP (required for Docker Desktop on Windows/Mac)
102+ - " ollama-server.local:192.168.1.100"
103+ volumes :
104+ - ./translated_files:/app/translated_files
105+ - ./logs:/app/logs
106+ ` ` `
107+
108+ **Note:** Docker Desktop isolates containers from your local network. Use ` extra_hosts` to map hostnames to IP addresses.
109+
85110# # Multi-Platform Support
86111
87112The images are built for multiple architectures :
You can’t perform that action at this time.
0 commit comments