-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
122 lines (110 loc) · 3.75 KB
/
docker-compose.yml
File metadata and controls
122 lines (110 loc) · 3.75 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
services:
#----- StatGPT services -----#
gtdc-portal:
image: epam/statgpt-global-trusted-data-commons:development
ports:
- "4300:3000"
depends_on:
- ai-dial-core
environment:
APPLICATION_ORIGIN: "http://localhost:4300"
DIAL_API_URL: "http://ai-dial-core:8080"
DIAL_API_KEY: ${DIAL_API_KEY}
DIAL_API_VERSION : "2025-01-01-preview"
EN_MODEL: ${STATGPT_DEV_DEPLOYMENT}
DEFAULT_MODEL: ${STATGPT_DEV_DEPLOYMENT}
SDMX_API_URL: "https://api.imf.org/external"
CONSTRAINS_SDMX_API_URL: "https://data.imf.org/platform/rest/v1/registry/"
NEXTAUTH_SECRET: "placeholder"
NEXTAUTH_URL: "placeholder"
#----- Data & storage services -----#
vectordb:
hostname: vectordb
image: pgvector/pgvector:pg14
ports:
- "5432:5432"
restart: always
environment:
- POSTGRES_DB=${PGVECTOR_DATABASE}
- POSTGRES_USER=${PGVECTOR_USER}
- POSTGRES_PASSWORD=${PGVECTOR_PASSWORD}
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- ${INIT_SQL_PATH:-./scripts/init.sql}:/docker-entrypoint-initdb.d/init.sql
- postgres-data:/var/lib/postgresql/data
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.14.0
ports:
- "9200:9200"
environment:
xpack.security.enabled: false
xpack.security.enrollment.enabled: false
discovery.type: single-node
node.name: es-node-01
volumes:
- elastic-data:/usr/share/elasticsearch/data
redis:
image: redis:7.4.1-alpine3.20
restart: always
ports:
- "6379:6379"
mem_limit: 2200M
command: >
redis-server
--maxmemory 2000mb
--maxmemory-policy volatile-lfu
--save ""
--appendonly no
--loglevel warning
#----- AI DIAL services -----#
ai-dial-core:
user: ${UID:-root}
ports:
- "8080:8080"
image: epam/ai-dial-core:latest
environment:
'AIDIAL_SETTINGS': '/opt/settings/settings.json'
'JAVA_OPTS': '-Dgflog.config=/opt/settings/gflog.xml'
'LOG_DIR': '/app/log'
'STORAGE_DIR': '/app/data'
'aidial.config.files': '["/opt/config/config.json"]'
'aidial.storage.maxUploadedFileSize': '2147483648' # 2 GB
'aidial.storage.overrides': '{ "jclouds.filesystem.basedir": "data" }'
'aidial.redis.singleServerConfig.address': 'redis://redis:6379'
depends_on:
- redis
volumes:
- ${DIAL_DIR:-.}/dial/core/settings:/opt/settings
- ${DIAL_DIR:-.}/dial/core/config:/opt/config
- ${DIAL_DIR:-.}/dial/core/logs:/app/log
- ai-dial-core-data:/app/data
ai-dial-adapter-dial:
image: epam/ai-dial-adapter-dial:latest
ports:
- "5000"
environment:
DIAL_URL: "http://ai-dial-core:8080"
LOG_LEVEL: "INFO"
ai-dial-chat:
ports:
- "3000:3000"
image: epam/ai-dial-chat:latest
depends_on:
- ai-dial-themes
- ai-dial-core
environment:
NEXTAUTH_SECRET: "secret"
THEMES_CONFIG_HOST: "http://ai-dial-themes:8080"
DIAL_API_HOST: "http://ai-dial-core:8080"
DIAL_API_KEY: ${DIAL_API_KEY}
ENABLED_FEATURES: "conversations-section,prompts-section,top-settings,top-clear-conversation,top-chat-info,top-chat-model-settings,empty-chat-settings,header,footer,request-api-key,report-an-issue,likes,conversations-sharing,input-files,attachments-manager,prompts-sharing,prompts-publishing,conversations-publishing,custom-logo,input-links,custom-applications,message-templates,marketplace,quick-apps,code-apps,applications-sharing,marketplace-table-view"
KEEP_ALIVE_TIMEOUT: ${CHAT_KEEP_ALIVE_TIMEOUT:-20000}
AUTH_DISABLED: "true"
ai-dial-themes:
image: epam/ai-dial-chat-themes:latest
ports:
- "3001:8080"
volumes:
postgres-data:
elastic-data:
ai-dial-core-data: