-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdevelopment.yml
56 lines (51 loc) · 1.22 KB
/
development.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
version: "3.5"
services:
# don't show logs from those services
pgadmin:
logging:
driver: none
db:
logging:
driver: none
cantaloupe:
logging:
driver: none
proxy:
environment:
- NGINX_BIN=nginx-debug
backend:
volumes:
- ./qaboard:/qaboard/qaboard
- ./backend:/qaboard/backend
environment:
- QABOARD_DB_ECHO=true
- UWSGI_STATS=true
- FLASK_APP=backend
- FLASK_ENV=development
- FLASK_DEBUG=1
# Start a flask debug server instead of the full uwsgi
# To use it, comment out, as well as frontent:environment below
working_dir: /qaboard/backend
command: flask run --host 0.0.0.0 --with-threads --port 5152
ports:
- 5152:5152
# logging:
# driver: none
frontend:
volumes:
- ./webapp:/webapp
environment:
# Should we comment it out by default?
- HOST=0.0.0.0
- DANGEROUSLY_DISABLE_HOST_CHECK=true
- CHOKIDAR_USEPOLLING=true
# - REACT_EDITOR=code
# Relay API requests to your development server
- REACT_APP_QABOARD_API_HOST=http://backend:5152
- REACT_APP_QABOARD_HOST=http://proxy:5151
command: npm start
ports:
- 3000:3000
depends_on:
- proxy
- backend