-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (46 loc) · 928 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (46 loc) · 928 Bytes
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
services:
redis:
image: redis:latest
container_name: redis-server
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- database
redis-client:
image: redis:latest
container_name: redis-client
entrypoint: redis-cli
depends_on:
- redis
stdin_open: true
tty: true
networks:
- database
redisinsight:
image: redislabs/redisinsight:latest
container_name: redisinsight
ports:
- "8001:8001"
networks:
- database
postgres:
image: postgres:15
container_name: postgres-db
ports:
- "5434:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
- POSTGRES_DB=database
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- database
volumes:
redis-data:
postgres-data:
networks:
database:
driver: bridge