forked from Shay636/caprWIP
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 767 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 767 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
services:
backend:
build:
context: backend
dockerfile: Dockerfile
entrypoint:
- flask
- run
- --host=0.0.0.0
environment:
FLASK_DEBUG: 1
FLASK_APP: server
ports:
- 5001:5000
volumes:
- ./backend:/usr/app # Backend code
- ./Germanic/data:/usr/app/data # Germanic data files
- ./Germanic/fsts:/usr/app/fsts # Germanic FST sources
- ./Germanic/tools:/usr/app/tools # Germanic tools
- ./Germanic/docs:/usr/app/docs # Germanic docs (debug_snapshots)
depends_on:
- frontend
frontend:
build:
context: frontend
dockerfile: Dockerfile
ports:
- 8080:8080
volumes:
- ./frontend:/usr/app