-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
73 lines (68 loc) · 1.79 KB
/
Copy pathcompose.yml
File metadata and controls
73 lines (68 loc) · 1.79 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
services:
rabbitmq:
profiles: [ all, rabbitmq ]
build: rabbitmq
image: ${CONTAINER_REGISTRY}/${CI_PROJECT_PATH}/rabbitmq:${RABBITMQ_VERSION}
container_name: ${APP_NAME}-rabbitmq
ports:
- "5672:5672"
- "15672:15672"
env_file:
- .env.local
- .env.local.secrets
healthcheck:
start_period: 15s
test: [ "CMD", "rabbitmq-diagnostics", "-q", "ping" ]
timeout: 3s
interval: 5s
retries: 5
backend:
profiles: [ all, backend ]
build: backend
image: ${CONTAINER_REGISTRY}/${CI_PROJECT_PATH}/backend:${BACKEND_VERSION}
container_name: ${APP_NAME}-backend
ports:
- "8888:8888"
env_file:
- .env.local
- .env.local.secrets
frontend:
profiles: [ all, frontend ]
build:
context: frontend
dockerfile: Dockerfile
args:
VITE_BACKEND: localhost:8888
PORT: 5173
image: ${CONTAINER_REGISTRY}/${CI_PROJECT_PATH}/frontend:${FRONTEND_VERSION}
container_name: ${APP_NAME}-frontend
ports:
- "80:5173"
env_file:
- .env.local
- .env.local.secrets
llm-server:
profiles: [ llm-server ]
build: llm-server
image: ${CONTAINER_REGISTRY}/${CI_PROJECT_PATH}/llm-server:${LLM_SERVER_VERSION}
container_name: ${APP_NAME}-llm-server
ports:
- "9999:9999"
env_file:
- .env.local
- .env.local.secrets
healthcheck:
test: [ "CMD", "curl", "http://localhost:9999/healthcheck" ]
timeout: 3s
interval: 5s
retries: 5
mcp-server:
profiles: [ mcp-server ]
build: mcp-server
image: ${CONTAINER_REGISTRY}/${CI_PROJECT_PATH}/mcp-server:${MCP_SERVER_VERSION}
container_name: ${APP_NAME}-mcp-server
ports:
- "8001:8001"
env_file:
- .env.local
- .env.local.secrets