-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (57 loc) · 1.38 KB
/
docker-compose.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
58
59
---
version: '3.9'
services:
pgvector:
image: ankane/pgvector
container_name: pgvector
hostname: pgvector
restart: unless-stopped
volumes:
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
environment:
POSTGRES_PASSWORD: "postgres"
POSTGRES_USER: "postgres"
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: "postgres"
VIRTUAL_HOST: pgvector.arpa
VIRTUAL_PORT: 5432
ports:
- "5432:5432"
genius-webui:
container_name: genius-webui
build:
context: .
dockerfile: webui.dockerfile
ports:
- "8099:8099"
- "8000:8000"
healthcheck:
test: curl -f http://localhost:8099/ping || exit 1
restart: unless-stopped
logging:
options:
max-size: "10m"
max-file: "100"
environment:
VIRTUAL_HOST: geniusbot.arpa
VIRTUAL_PORT: 8099
OPENAI_API_KEY: "NA"
OPENAI_API_BASE: "http://localhost:8080/v1"
WEBUI_API_URL: "http://localhost:8000"
genius-assimilator:
container_name: genius-assimilator
build:
context: .
dockerfile: assimilate.dockerfile
ports:
- "8096:8096"
healthcheck:
test: curl -f http://localhost:8096/ping || exit 1
restart: unless-stopped
logging:
options:
max-size: "10m"
max-file: "100"
environment:
VIRTUAL_HOST: geniusbot.arpa
VIRTUAL_PORT: 8096