-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
42 lines (40 loc) · 930 Bytes
/
docker-compose.yaml
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
version: '3.8'
services:
redis:
image: redis:6.2-alpine
restart: always
ports:
- '6379:6379'
command: redis-server --save 20 1 --loglevel warning
#volumes:
# - cache:/data
redis-commander:
hostname: redis-commander
image: ghcr.io/joeferner/redis-commander:0.8.1
restart: always
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- "8081:8081"
mongo:
image: mongo:4.2.24
restart: always
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
mongo-express:
image: mongo-express:0.54.0
restart: always
ports:
- 8082:8081
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example
ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
depends_on:
- mongo
volumes:
cache:
driver: local