-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
52 lines (50 loc) · 1.15 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
services:
akabot:
env_file: .env
build: .
develop:
watch:
- path: features/
target: /app/features
action: sync+restart
- path: utils/
target: /app/utils
action: sync+restart
- path: main.py
target: /app
action: sync+restart
- path: database.py
target: /app
action: sync+restart
- path: lang/
target: /app/lang
action: sync
- path: Dockerfile
action: rebuild
- path: requirements.txt
action: rebuild
networks:
- akabot
depends_on:
- mongodb
mongodb:
image: mongo:latest
environment:
MONGO_INITDB_ROOT_USERNAME: mldchan
MONGO_INITDB_ROOT_PASSWORD: changeme
networks:
- akabot
mongo-express:
image: mongo-express
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: mldchan
ME_CONFIG_MONGODB_ADMINPASSWORD: changeme
ME_CONFIG_MONGODB_URL: mongodb://mldchan:changeme@mongodb:27017/
ME_CONFIG_BASICAUTH: false
networks:
- akabot
networks:
akabot:
driver: bridge