-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
54 lines (49 loc) · 945 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
43
44
45
46
47
48
49
50
51
52
53
54
version: "3.8"
services:
app:
container_name: app
build: .
volumes:
- .:/app
command: python3 main.py & sleep 5
depends_on:
- mongodb
- mongo-express
- memory
mongodb:
container_name: mongo-main
image: mongo:6-jammy
env_file:
.env
ports:
- 27017:27017
volumes:
- ./data/mongodb/:/data/mongodb
mongo-express:
image: mongo-express
container_name: mongo-express
ports:
- 28081:8081
env_file:
.env
depends_on:
- mongodb
memory:
image: redis/redis-stack-server:latest
container_name: memory
ports:
- 6379:6379
env_file:
.env
volumes:
- ./data/:/data/redis/
redis-commander:
container_name: redis-commander
hostname: redis-commander
image: ghcr.io/joeferner/redis-commander:latest
env_file:
.env
ports:
- "8081:8081"
depends_on:
- memory