-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmarginalia-core2.yml
57 lines (57 loc) · 1.25 KB
/
marginalia-core2.yml
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
x-svc: &service
env_file:
- "/app/search.marginalia.nu/env/service.env"
volumes:
- ms_conf:/wmsa/conf:ro
- ms_model:/wmsa/model:ro
- ms_data:/wmsa/data
- ms_logs:/var/log/wmsa
networks:
- wmsa
restart: unless-stopped
environment:
- "WMSA_SERVICE_NODE=2"
services:
query-service-2:
<<: *service
image: "marginalia/query-service"
container_name: "query-service-2"
search-service-2:
<<: *service
image: "marginalia/search-service"
container_name: "search-service-2"
assistant-service-2:
<<: *service
image: "marginalia/assistant-service"
container_name: "assistant-service-2"
api-service-2:
<<: *service
image: "marginalia/api-service"
container_name: "api-service-2"
networks:
wmsa:
volumes:
ms_logs:
driver: local
driver_opts:
type: none
o: bind
device: /app/search.marginalia.nu/logs
ms_model:
driver: local
driver_opts:
type: none
o: bind
device: /app/search.marginalia.nu/model
ms_conf:
driver: local
driver_opts:
type: none
o: bind
device: /app/search.marginalia.nu/conf
ms_data:
driver: local
driver_opts:
type: none
o: bind
device: /app/search.marginalia.nu/data