-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (38 loc) · 867 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (38 loc) · 867 Bytes
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
version: "2"
services:
db:
container_name: ld_db
image: mysql:8.0.15
command: '--local-infile=1'
ports:
- '32000:3306'
environment:
MYSQL_ROOT_PASSWORD: root
volumes:
- './db/:/docker-entrypoint-initdb.d/:ro'
api:
build: ./LokdhabaApi
container_name : ld_api
volumes :
- './LokdhabaApi/:/app/'
links:
- db
ports:
- "15000:5000"
# environment:
# - FLASK_APP=app.py
# - FLASK_DEBUG=1
command : flask run --host=0.0.0.0
# --workers 2 -b 0.0.0.0:5000 --timeout 60
# command: gunicorn app:app -c gunicorn_config.py
# command: gunicorn -c gunicorn_config.py app:app
node:
container_name : ld_ui
build : ./lokdhaba_js
volumes :
- './lokdhaba_js:/app'
- '/app/node_modules'
ports :
- '3001:3000'
links :
- api