-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1.01 KB
/
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
version: '3'
services:
backend:
container_name: backend
restart: always
build: ./backend/
volumes:
- ./logs:/winston_logs
ports:
- "127.0.0.1:8000:8000"
- "127.0.0.1:8001:8001"
links:
- mongo
- redis
mongo:
container_name: database
image: mongo
volumes:
- ./data:/data/db
ports:
- "127.0.0.1:27017:27017"
redis:
container_name: redis
image: "redis:alpine"
command: redis-server --requirepass XSS_bomb_RedisPass321@!
volumes:
- ./redis:/data
ports:
- "127.0.0.1:6379:6379"
admin_panel:
container_name: admin_panel
restart: always
image: mongo-express:1.0.0-alpha.4
ports:
- "127.0.0.1:8081:8081"
environment:
ME_CONFIG_BASICAUTH_USERNAME: root
ME_CONFIG_BASICAUTH_PASSWORD: toor
ME_CONFIG_OPTIONS_EDITORTHEME: material
ME_CONFIG_MONGODB_SERVER: mongo
links:
- mongo