-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (60 loc) · 1.34 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
services:
db:
image: postgres:17-alpine
command:
[
"postgres",
"-c",
"config_file=/var/lib/postgresql/postgresql.conf"
]
deploy:
resources:
limits:
cpus: '2'
memory: 2G
ports:
- "5432:5432"
environment:
POSTGRES_DB: kheina
POSTGRES_USER: kheina
POSTGRES_PASSWORD: password
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U kheina -d kheina" ]
interval: 3s
timeout: 5s
retries: 5
volumes:
- type: bind
source: ./docker/postgres
target: /var/lib/postgresql
aerospike:
image: aerospike/aerospike-server:6.4
deploy:
replicas: 1
endpoint_mode: dnsrr
command: [ "--config-file", "/etc/aerospike/aerospike.conf" ]
ports:
- "4000:4000"
ulimits:
memlock: -1
NOFILE: 15000
volumes:
- type: bind
source: ./docker/aerospike
target: /etc/aerospike/
minio:
image: minio/minio:latest
command: minio server
ports:
- "9000:9000"
- "9090:9090"
volumes:
- type: bind
source: ./docker/minio
target: /etc/minio
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=password
- MINIO_ADDRESS=:9000
- MINIO_CONSOLE_ADDRESS=:9090
- MINIO_VOLUMES=/etc/minio