-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
142 lines (134 loc) · 3.27 KB
/
docker-compose.yml
File metadata and controls
142 lines (134 loc) · 3.27 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
services:
kiwix:
image: ghcr.io/kiwix/kiwix-serve:latest
container_name: offgrid-tools-kiwix
ports:
- "8000:8080"
volumes:
- ./zim/data:/data:ro
command: "*.zim"
restart: unless-stopped
networks:
- offgrid
environment:
- PORT=8080
ollama:
image: ollama/ollama:latest
container_name: offgrid-tools-ollama
ports:
- "11434:11434"
volumes:
- ./ollama/data:/root/.ollama
restart: unless-stopped
networks:
- offgrid
environment:
- OLLAMA_HOST=0.0.0.0
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
openwebui:
image: ghcr.io/open-webui/open-webui:main
container_name: offgrid-tools-openwebui
ports:
- "8001:8080"
volumes:
- ./openwebui/data:/app/backend/data
restart: unless-stopped
networks:
- offgrid
environment:
- OLLAMA_BASE_URL=http://ollama:11434
- HF_HUB_OFFLINE=1
depends_on:
- ollama
ollama-chat-party:
image: psyb0t/ollama-chat-party:latest
container_name: offgrid-tools-ollama-chat-party
tty: true
ports:
- "8002:8000"
volumes:
- ./ollama-chat-party/data:/documents
restart: unless-stopped
networks:
- offgrid
environment:
- OLLAMA_CHAT_PARTY_WEB_UI_PASSWORD=offgrid123
command:
[
"--listen",
"0.0.0.0:8000",
"--rag-dir",
"/documents",
"--ollama-url",
"http://ollama:11434",
]
depends_on:
- ollama
inspircd:
image: inspircd/inspircd-docker:latest
container_name: offgrid-tools-inspircd
user: "1000:1000"
expose:
- 6667
volumes:
- ./inspircd/conf:/inspircd/conf
- ./inspircd/logs:/inspircd/logs
restart: unless-stopped
networks:
- offgrid
thelounge:
image: thelounge/thelounge:latest
container_name: offgrid-tools-thelounge
ports:
- "8003:9000"
volumes:
- ./thelounge:/var/opt/thelounge
restart: unless-stopped
networks:
- offgrid
environment:
- THELOUNGE_HOME=/var/opt/thelounge
depends_on:
- inspircd
icecast:
image: libretime/icecast:latest
container_name: offgrid-tools-icecast
ports:
- "8004:8000"
restart: unless-stopped
networks:
- offgrid
environment:
- ICECAST_SOURCE_PASSWORD=offgrid123
- ICECAST_ADMIN_PASSWORD=offgrid123
- ICECAST_RELAY_PASSWORD=offgrid123
- ICECAST_PASSWORD=offgrid123
file-server:
image: nginx:alpine
container_name: offgrid-tools-file-server
ports:
- "8005:8002"
volumes:
- ./file-server/nginx.conf:/etc/nginx/nginx.conf:ro
- ./file-server/entrypoint.sh:/entrypoint.sh:ro
- ./apps/android/apk/data:/var/www/html/apk:ro
- ./apps/iso/data:/var/www/html/iso:ro
- ./docker-images:/var/www/html/docker-images:ro
- ./zim/data:/var/www/html/zim:ro
- ./maps/data:/var/www/html/maps:ro
- ./file-server/other-files:/var/www/html/other-files
environment:
- FILE_SERVER_AUTH=offgrid:offgrid123
entrypoint: ["/entrypoint.sh"]
restart: unless-stopped
networks:
- offgrid
networks:
offgrid:
driver: bridge