-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
104 lines (99 loc) · 2.12 KB
/
docker-compose.yml
File metadata and controls
104 lines (99 loc) · 2.12 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
networks:
vyx:
driver: bridge
volumes:
postgres-data:
dragonfly-data:
qdrant-data:
services:
dashboard:
build:
context: .
args:
INFISICAL_TOKEN: ${INFISICAL_TOKEN_SERVICE}
environment:
- INFISICAL_TOKEN=${INFISICAL_TOKEN_SERVICE}
networks:
- vyx
ports:
- '3008:3000'
restart: unless-stopped
logging:
options:
max-size: '1g'
max-file: '3'
container_name: vyx-dashboard
volumes:
- './packages/inference-engine/auth.json:/app/auth.json:ro'
depends_on:
postgres:
condition: service_healthy
dragonfly:
condition: service_healthy
qdrant:
condition: service_healthy
postgres:
container_name: postgres-vyx
networks:
- vyx
image: postgres:15-alpine
ports:
- '5435:5432'
env_file:
- .env.prod
restart: always
volumes:
- 'postgres-data:/var/lib/postgresql/data'
logging:
options:
max-size: '20m'
max-file: '3'
healthcheck:
test: ['CMD-SHELL', 'pg_isready']
interval: 30s
timeout: 60s
retries: 5
start_period: 80s
dragonfly:
container_name: dragonfly-vyx
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
networks:
- vyx
ulimits:
memlock: -1
ports:
- '6379:6379'
command: ['--cluster_mode=emulated', '--lock_on_hashtags']
volumes:
- dragonfly-data:/data
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 30s
timeout: 60s
retries: 5
start_period: 30s
qdrant:
container_name: qdrant-vyx
image: qdrant/qdrant:latest
networks:
- vyx
ports:
- '6333:6333'
- '6334:6334'
volumes:
- qdrant-data:/qdrant/storage
environment:
QDRANT__SERVICE__HTTP_PORT: 6333
QDRANT__SERVICE__GRPC_PORT: 6334
healthcheck:
test:
- CMD-SHELL
- bash -c ':> /dev/tcp/127.0.0.1/6333' || exit 1
interval: 5s
timeout: 5s
retries: 3
restart: unless-stopped
logging:
options:
max-size: '10m'
max-file: '3'