-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
47 lines (45 loc) · 897 Bytes
/
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
version: "3"
services:
db:
image: postgres:15.3-alpine
restart: unless-stopped
ports:
- 5432:5432
network_mode: "host"
volumes:
- pgdata:/var/lib/postgresql/data
#- ./pgvector:/pgvector
env_file:
- .env
# entrypoint: ["sh", "/pgvector/init_pgvector.sh"]
minikeyvalue:
build:
context: ./minikeyvalue
dockerfile: Dockerfile
volumes:
- /mnt/raid5/kvstore1:/tmp
ports:
- "3000-3005:3000-3005"
network_mode: "host"
restart: unless-stopped
connect:
build: .
restart: unless-stopped
ports:
- "3222:3222"
- "3223:3223"
- "3111:3111"
- "3112:3112"
depends_on:
- db
# - redis
- minikeyvalue
env_file:
- .env
network_mode: "host"
volumes:
- cargo-cache:/usr/local/cargo
volumes:
pgdata:
cargo-cache:
connect-target: