-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-dev.yml
40 lines (40 loc) · 1.05 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
services:
fastapi:
build: .
environment:
- BWS_ACCESS_TOKEN={$BWS_ACCESS_TOKEN}
- ONBOARD_FORWARDED_ALLOW_IPS=
ports:
- 8000:8000
volumes:
- ./config/options.yml:/src/config/options.yml
- ./database/:/data/
develop:
watch:
# sync static content
- path: ./app/static
action: sync
target: /src/app/static
# sync templates
- path: ./app/templates
action: sync
target: /src/app/templates
- path: ./app/forms
action: sync
target: /src/app/templates
# sync app
- path: ./app/app/models/
action: sync
target: /src/app/models/
- path: ./app/routes/
action: sync
target: /src/app/routes/
- path: ./app/util/
action: sync
target: /src/app/util/
- path: ./app/index.py
action: sync
target: /src/app/index.py
- path: ./requirements.txt
action: rebuild
target: /src/app/requirements.txt