-
-
Notifications
You must be signed in to change notification settings - Fork 62
/
compose.bionicgpt.yml
106 lines (98 loc) · 3.48 KB
/
compose.bionicgpt.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
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
services:
bionicgpt:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt
image: ghcr.io/bionic-gpt/bionicgpt-envoy:1.7.41
ports:
- ${HARBOR_BIONICGPT_HOST_PORT}:7700
networks:
- harbor-network
volumes:
- ./bionicgpt/start_envoy.sh:/start_envoy.sh
command: /start_envoy.sh
env_file:
- ./.env
- ./bionicgpt/override.env
bionicgpt-app:
image: ghcr.io/bionic-gpt/bionicgpt:1.7.41
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-app
environment:
SIGNOUT_URL: /auth/sign_out
ENABLE_BARRICADE: 1
APP_DATABASE_URL: postgresql://bionic_application:testpassword@bionicgpt-postgres:5432/bionic-gpt?sslmode=disable
depends_on:
bionicgpt-postgres:
condition: service_healthy
bionicgpt-migrations:
condition: service_completed_successfully
networks:
- harbor-network
bionicgpt-llmapi:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-llmapi
image: ghcr.io/bionic-gpt/llama-3-8b-chat:1.1.1
networks:
- harbor-network
bionicgpt-embeddingsapi:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-embeddingsapi
image: ghcr.io/bionic-gpt/bionicgpt-embeddings-api:cpu-0.6
networks:
- harbor-network
bionicgpt-chunkingengine:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-chunkingengine
image: downloads.unstructured.io/unstructured-io/unstructured-api:4ffd8bc
networks:
- harbor-network
bionicgpt-postgres:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-postgres
image: ankane/pgvector
platform: linux/amd64
environment:
POSTGRES_PASSWORD: testpassword
POSTGRES_USER: postgres
POSTGRES_DB: keycloak
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 1s
timeout: 5s
retries: 5
networks:
- harbor-network
volumes:
- ./bionicgpt/db:/var/lib/postgresql/data
bionicgpt-barricade:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-barricade
image: purtontech/barricade:1.2.10
environment:
# This secret key is used to encrypt cookies.
SECRET_KEY: 190a5bf4b3cbb6c0991967ab1c48ab30790af876720f1835cbbf3820f4f5d949
DATABASE_URL: postgresql://postgres:testpassword@bionicgpt-postgres:5432/bionic-gpt?sslmode=disable
REDIRECT_URL: /app/post_registration
USER_TABLE_NAME: 'barricade_users'
depends_on:
bionicgpt-postgres:
condition: service_healthy
bionicgpt-migrations:
condition: service_completed_successfully
networks:
- harbor-network
# Sets up our database tables
bionicgpt-migrations:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-migrations
image: ghcr.io/bionic-gpt/bionicgpt-db-migrations:1.7.41
environment:
DATABASE_URL: postgresql://postgres:testpassword@bionicgpt-postgres:5432/bionic-gpt?sslmode=disable
depends_on:
bionicgpt-postgres:
condition: service_healthy
networks:
- harbor-network
# Parses documents into chunks and creates embeddings.
bionicgpt-pipelinejob:
container_name: ${HARBOR_CONTAINER_PREFIX}.bionicgpt-pipelinejob
image: ghcr.io/bionic-gpt/bionicgpt-pipeline-job:1.7.41
environment:
APP_DATABASE_URL: postgresql://bionic_application:testpassword@bionicgpt-postgres:5432/bionic-gpt?sslmode=disable
depends_on:
bionicgpt-postgres:
condition: service_healthy
bionicgpt-migrations:
condition: service_completed_successfully