-
Notifications
You must be signed in to change notification settings - Fork 15
/
compose.yaml
122 lines (121 loc) · 3 KB
/
compose.yaml
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
version: "3.5"
services:
redis:
image: redis:alpine
volumes:
- "redis:/data"
restart: unless-stopped
postgres:
image: postgres:16-alpine
volumes:
- "postgres:/var/lib/postgresql/data"
environment:
POSTGRES_USER: archyve
POSTGRES_PASSWORD: password
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U archyve"]
interval: 5s
timeout: 5s
retries: 5
chromadb:
image: chromadb/chroma:latest
volumes:
- chromadb:/chroma/chroma
command: "--workers 1 --host 0.0.0.0 --port 8000 --proxy-headers --log-config chromadb/log_config.yml --timeout-keep-alive 30"
environment:
- IS_PERSISTENT=TRUE
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/heartbeat"]
interval: 30s
timeout: 10s
retries: 3
archyve:
image: archyve:local
build: .
env_file: ./local.env
restart: unless-stopped
volumes: &archyve-volumes
- archyve_files:/rails/storage
- ./config/local:/rails/config/local
# this needs to be edited to give podman access to host
extra_hosts: &archyve-extra-hosts
- "host.docker.internal:host-gateway"
ports:
- 3300:3300
depends_on: &archyve-dependencies
- redis
- postgres
archyve-ollamaproxy:
image: archyve:local
build: .
env_file: ./local.env
restart: unless-stopped
volumes: *archyve-volumes
# this needs to be edited to give podman access to host
extra_hosts: *archyve-extra-hosts
ports:
- 11337:11337
depends_on: *archyve-dependencies
environment:
RUN_OPP: true
OPP_PORT: 11337
OPP_BIND_ADDRESS: "0.0.0.0"
command:
[
"bin/rails",
"server",
"--pid",
"/rails/tmp/pids/opp.pid",
"-p",
"11337",
"-b",
"0.0.0.0",
]
archyve-worker:
image: archyve:local
env_file: ./local.env
restart: unless-stopped
volumes: *archyve-volumes
# this needs to be edited to give podman access to host
extra_hosts: *archyve-extra-hosts
command:
["/bin/bash", "-c", "bin/rails db:seed && bundle exec sidekiq -q default"]
depends_on: &archyve-worker-dependencies
- redis
- postgres
- archyve
environment:
RUN_SIDEKIQ: true
archyve-worker-llm:
image: archyve:local
env_file: ./local.env
restart: unless-stopped
volumes: *archyve-volumes
# this needs to be edited to give podman access to host
extra_hosts: *archyve-extra-hosts
command:
[
"/bin/bash",
"-c",
"bin/rails db:seed && bundle exec sidekiq -q llm -c 5",
]
depends_on: *archyve-worker-dependencies
environment:
RUN_SIDEKIQ: true
neo4j:
image: neo4j:5.21.0
ports:
- "7474:7474"
- "7687:7687"
volumes:
- neo4j_data:/data
environment:
- NEO4J_AUTH=neo4j/password
volumes:
redis:
postgres:
chromadb:
archyve_files:
neo4j_data: