-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (43 loc) · 1.15 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
version: '3'
services:
mysql:
container_name: manageme-mysql
image: mysql:5.7.22
volumes:
- ./mysql/:/docker-entrypoint-initdb.d/
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=password
#sudo docker-compose stop manageme-mysql; docker-compose rm manageme-mysql; docker-compose build manageme-mysql; docker-compose up manageme-mysql
api:
depends_on:
- mysql
container_name: manageme-api
build: ./api
volumes:
- ./settings.py/:/src/common/settings.py
ports:
- "8321:8321"
#sudo docker-compose stop manageme-api; docker-compose rm manageme-api; docker-compose build manageme-api; docker-compose up manageme-api
adminer:
depends_on:
- mysql
container_name: manageme-adminer
image: adminer
ports:
- "8080:8080"
web:
container_name: manageme-web
build: ./web
volumes:
- ./managemeSettings.js/:/usr/src/app/src/utils/managemeSettings.js
ports:
- "8081:8081"
notifier:
depends_on:
- mysql
container_name: manageme-notifier
build: ./notifier
volumes:
- ./managemeSettings.js/:/usr/src/app/managemeSettings.js