-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (48 loc) · 935 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (48 loc) · 935 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
deno:
build: ./deno
volumes:
- ./app/templates:/templates
- ./app/static:/static
env_file: ./.env
environment:
- DENO_DIR=/deno
container_name: deno
tty: true
fastapi:
build: ./api
container_name: fastapi-application
ports:
- "8000:8000"
volumes:
- type: bind
source: ./api
target: /api
env_file:
- ./.env
depends_on:
- django
django:
build:
context: ./app
dockerfile: Dockerfile
container_name: django
volumes:
- type: bind
source: ./app
target: /app
- ./datasets:/app/datasets
ports:
- "8050:8050"
restart: "always"
env_file: ./.env
# lint:
# build:
# context: .
# dockerfile: Dockerfile.lint
# volumes:
# - ./api:/fastapi
# - ./app:/app
volumes:
django_templates:
django_static: