-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
docker-compose.dev.yml
64 lines (59 loc) · 1.36 KB
/
docker-compose.dev.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: "3.7"
services:
member-counter-bot-dev:
build:
context: ./
dockerfile: Dockerfile.dev
image: member-counter-bot:latest
container_name: Member-Counter-App-Dev
env_file: .env
volumes:
- .:/app
depends_on:
- member-counter-bot-mongodb
- member-counter-bot-redis
ports:
- "${PORT}:${PORT}"
- "9229:9229"
networks:
- default
member-counter-bot-mongodb:
image: mongo:4.4.6
container_name: Member-Counter-DB
restart: always
volumes:
- ./storage/db:/data/db
- ./storage/configdb:/data/configdb
logging:
driver: "none"
networks:
- default
ports:
- "27017:27017"
member-counter-bot-redis:
image: redis
command: redis-server --requirepass ${REDIS_PASSWORD}
container_name: Member-Counter-Redis
logging:
driver: "none"
restart: always
networks:
- default
ports:
- "6379:6379"
member-counter-bot-mongoex:
image: mongo-express
container_name: Member-Counter-MongoEX
logging:
driver: "none"
environment:
- ME_CONFIG_OPTIONS_EDITORTHEME=monokai
- ME_CONFIG_MONGODB_SERVER=member-counter-bot-mongodb
- ME_CONFIG_MONGODB_PORT=27017
ports:
- "8081:8081"
depends_on:
- member-counter-bot-mongodb
restart: unless-stopped
networks:
default: