-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 843 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (36 loc) · 843 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '3.8'
services:
taleweaver:
build: .
container_name: taleweaver
image: taleweaver:latest
# Internal port only, Nginx will proxy to it
expose:
- "8000"
volumes:
- ${DOCKER_DATA_DIR:-./data-docker}:/app/data
env_file:
- .env
restart: unless-stopped
# Enable communication with Ollama running on the host
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- taleweaver-net
nginx:
image: nginx:alpine
container_name: taleweaver-nginx
ports:
- "80:80"
- "${FRONTEND_PORT:-443}:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/ssl:/etc/nginx/ssl:ro
depends_on:
- taleweaver
restart: always
networks:
- taleweaver-net
networks:
taleweaver-net:
driver: bridge