-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
47 lines (46 loc) · 1.06 KB
/
docker-compose.yaml
File metadata and controls
47 lines (46 loc) · 1.06 KB
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
services:
api:
platform: linux/amd64
volumes:
- ${DATA_DIR:-./data}:/app/data
build:
context: .
dockerfile: Dockerfile
ports:
- 8000:8000
environment:
- HOST=0.0.0.0
- PORT=8000
- BLACKMARBLE_TOKEN=${BLACKMARBLE_TOKEN}
develop:
watch:
- path: ./requirements.txt
action: rebuild
- path: ./src
action: sync
target: /app/src
- path: ./static
action: sync
target: /app/static
- path: ./blackmarblepy/src/blackmarble
action: sync+restart
target: /app/blackmarblepy/src/blackmarble
web:
build:
context: ./web
dockerfile: Dockerfile
ports:
- 3000:3000
environment:
- API_URL=http://api:8000
- NEXT_PUBLIC_API_URL=http://localhost:8000
develop:
watch:
- path: ./web/package-lock.json
action: rebuild
- path: ./web
action: sync
target: /app
ignore:
- node_modules/
- web/node_modules/