-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
79 lines (75 loc) · 1.55 KB
/
docker-compose.yml
File metadata and controls
79 lines (75 loc) · 1.55 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
services:
db:
image: postgres:15.3-alpine
restart: unless-stopped
ports:
- 5432:5432
network_mode: "host"
volumes:
- pgdata:/var/lib/postgresql/data
env_file:
- .env
logging:
driver: "json-file"
options:
mode: "non-blocking"
max-size: "10m"
max-file: "3"
minikeyvalue:
build:
context: ./minikeyvalue
dockerfile: Dockerfile
volumes:
- /mnt/raid5/kvstore1:/tmp
ports:
- "3000-3005:3000-3005"
network_mode: "host"
restart: unless-stopped
logging:
driver: "json-file"
options:
mode: "non-blocking"
max-size: "10m"
max-file: "3"
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:
- ./assets:/usr/src/connect/assets
- cargo-cache:/usr/local/cargo
- /mnt/raid5/params:/params
logging:
driver: "json-file"
options:
mode: "non-blocking"
max-size: "10m"
max-file: "10"
nginx:
image: nginx:alpine
network_mode: "host"
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- /etc/letsencrypt:/etc/letsencrypt
restart: unless-stopped
logging:
driver: "json-file"
options:
mode: "non-blocking"
max-size: "10m"
max-file: "3"
volumes:
pgdata:
cargo-cache:
connect-target: