-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
52 lines (47 loc) · 936 Bytes
/
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
version: '3.8'
services:
db:
image: postgres:15.2
container_name: postgresql
restart: always
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- "127.0.0.1:5432:5432"
env_file:
- ".env"
redis:
image: 'redis:7-alpine'
container_name: redis
restart: always
ports:
- '127.0.0.1:6379:6379'
volumes:
- redis_data:/data
env_file:
- ".env"
redisinsight:
depends_on:
- redis
image: 'redislabs/redisinsight:latest'
container_name: redis_insights
restart: always
ports:
- '127.0.0.1:8082:8001'
volumes:
- redisinsight_data:/db
pgadmin:
image: dpage/pgadmin4:latest
container_name: pg_admin
restart: always
ports:
- '127.0.0.1:5050:80'
env_file:
- ".env"
volumes:
- pgadmin_data:/var/lib/pgadmin
volumes:
pgdata:
redis_data:
redisinsight_data:
pgadmin_data: