-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
44 lines (42 loc) · 1.22 KB
/
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
version: '3.2'
services:
tarantool1:
image: tarantool/tarantool:latest # 2.10.4
# x.x.0 = alpha, x.x.1 = beta, x.x.2+ = stable, latest not always stable
# x.x.0 = alpha, x.x.1 = beta, x.x.2+ = stable, latest not always stable
environment:
TT_READAHEAD: '1632000' # 10x
TT_VINYL_MEMORY: '2684354560' # 20x
TT_VINYL_CACHE: '2684354560' # 20x
TT_NET_MSG_MAX: '76800' # 100x
TT_MEMTX_MEMORY: '268435456' # 1x
TT_VINYL_PAGE_SIZE: '8192' # 1x
ports:
- "3301:3301"
# volumes:
# - ./tarantool1:/usr/local/share/tarantool
postgres1:
hostname: postgres1
container_name: postgres1
image: postgres:latest
ports:
- "5432:5432"
environment:
POSTGRES_USER: "pgroot"
POSTGRES_PASSWORD: "password"
# TODO: find a way to tune with env
cockroach1:
image: cockroachdb/cockroach:latest
command: start-single-node --insecure --accept-sql-without-tls --listen-addr=0.0.0.0
ports:
- "26257:26257"
- "8080:8080"
environment:
COCKROACH_USER: "cockroach"
COCKROACH_PASSWORD: "password"
COCKROACH_DATABASE: "test1"
#volumes:
# tarantool1:
# driver_opts:
# type: tmpfs
# device: tmpfs