-
-
Notifications
You must be signed in to change notification settings - Fork 183
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (51 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
57 lines (51 loc) · 1.07 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
services:
redis:
image: redis:7-alpine
container_name: cache
ports:
- 6379:6379
valkey:
image: valkey/valkey:8-alpine
container_name: valkey-cache
command: valkey-server --port 8080
ports:
- 8080:8080
networks:
- valkey-network
valkey-cluster:
image: valkey/valkey:8-alpine
container_name: valkey-cluster
command: >
sh -c "
valkey-server --port 8081 --cluster-enabled yes &
sleep 5;
valkey-cli -p 8081 cluster addslotsrange 0 16383;
tail -f /dev/null
"
ports:
- 8081:8081
networks:
- valkey-network
dynamodb:
image: amazon/dynamodb-local
container_name: dynamo
ports:
- 8000:8000
postgres:
image: postgres:latest
restart: always
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: secret
ports:
- "5432:5432"
etcd:
image: bitnamilegacy/etcd:3.5
container_name: etcd
environment:
ALLOW_NONE_AUTHENTICATION: yes
ports:
- 2379:2379
networks:
valkey-network:
driver: bridge