-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
151 lines (151 loc) · 3.33 KB
/
compose.yml
File metadata and controls
151 lines (151 loc) · 3.33 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
143
144
145
146
147
148
149
150
151
services:
migrate:
build:
context: .
dockerfile: docker/Dockerfile
target: migrations
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
depends_on:
db:
condition: service_healthy
restart: "no"
web:
build:
context: .
dockerfile: docker/Dockerfile
args:
- APP=web
ports:
- "${API_PORT:-8080}:8080"
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
environment:
PORT: 8080
depends_on:
migrate:
condition: service_completed_successfully
db:
condition: service_healthy
nats:
condition: service_healthy
valkey:
condition: service_healthy
chromadb:
condition: service_healthy
volumes:
- wiki_data:/data/wiki
develop:
watch:
- path: apps/web
action: rebuild
- path: libs
action: rebuild
- path: plugins
action: rebuild
scheduler:
build:
context: .
dockerfile: docker/Dockerfile
args:
- APP=scheduler
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
environment: {}
depends_on:
migrate:
condition: service_completed_successfully
db:
condition: service_healthy
nats:
condition: service_healthy
valkey:
condition: service_healthy
chromadb:
condition: service_healthy
volumes:
- wiki_data:/data/wiki
develop:
watch:
- path: apps/scheduler
action: rebuild
- path: libs
action: rebuild
- path: plugins
action: rebuild
worker:
build:
context: .
dockerfile: docker/Dockerfile
args:
- APP=worker-app
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
environment: {}
ports:
- "${WORKER_PORT:-8090}:8090"
depends_on:
migrate:
condition: service_completed_successfully
db:
condition: service_healthy
nats:
condition: service_healthy
valkey:
condition: service_healthy
ollama:
condition: service_healthy
volumes:
- wiki_data:/data/wiki
develop:
watch:
- path: apps/worker-app
action: rebuild
- path: libs
action: rebuild
- path: plugins
action: rebuild
db:
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
extends:
file: .compose/postgresql.yml
service: db
valkey:
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
extends:
file: .compose/valkey.yml
service: valkey
chromadb:
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
extends:
file: .compose/chromadb.yml
service: chromadb
ollama:
extends:
file: .compose/ollama.yml
service: ollama
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
restart: unless-stopped
nats:
extends:
file: .compose/nats.yml
service: nats
env_file:
- ${WAYGATE_COMPOSE_ENV_FILE:-.env.compose}
restart: unless-stopped
volumes:
valkey_data:
postgres_data:
chroma_data:
wiki_data:
driver: local
driver_opts:
type: none
o: bind
device: ${WIKI_DATA_DIR:-./wiki}
ollama_data:
name: ${OLLAMA_VOLUME_NAME:-waygate_ollama_data}