-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 968 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 968 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
version: "3"
services:
redis:
container_name: redis
image: redis
restart: always
ports:
- "${REDIS_PORT}:6379"
environment:
- REDIS_PASSWORD=${REDIS_PASSWORD}
command: redis-server --requirepass $REDIS_PASSWORD
redis-commander:
container_name: redis-commander
image: rediscommander/redis-commander
restart: always
ports:
- "${REDIS_COMMANDER_PORT}:8081"
depends_on:
- redis
environment:
- REDIS_HOST=${REDIS_HOST}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- REDIS_PORT=${REDIS_PORT}
- HTTP_USER=${REDIS_COMMANDER_USER}
- HTTP_PASSWORD=${REDIS_COMMANDER_PASSWORD}
nest:
container_name: nest
restart: always
build:
dockerfile: Dockerfile
context: ./
env_file:
- .env
ports:
- ${PORT}:${PORT}