-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (34 loc) · 803 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (34 loc) · 803 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
services:
postgres:
image: postgres:15
container_name: postgres-express-it
environment:
POSTGRES_USER: admin
POSTGRES_PASSWORD: admin
POSTGRES_DB: express-it
ports:
- "5433:5432"
volumes:
- express-it_postgres:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:7-alpine
container_name: redis-express-it
ports:
- "6380:6379"
volumes:
- express-it_redis:/data
restart: unless-stopped
redis-commander:
image: rediscommander/redis-commander:latest
container_name: redis-commander-express-it
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8082:8081"
depends_on:
- redis
restart: unless-stopped
volumes:
express-it_postgres:
express-it_redis: