-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
51 lines (46 loc) · 1.01 KB
/
docker-compose.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
version: '3.7'
services:
web:
image: barry8000/graph-samm:web-dev-latest
build:
context: ./frontend
dockerfile: ./Dockerfile
volumes:
- ./frontend/pwa:/pwa
env_file:
- ./frontend/pwa/.env.development
ports:
- 8080:8080
restart: always
db:
image: postgres:12.0-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- 5432:5432
env_file:
- ./backend/.env.db
api:
image: barry8000/graph-samm:api-dev-latest
build:
context: ./backend
dockerfile: ./Dockerfile
volumes:
- ./backend/api:/usr/src/app
env_file:
- ./backend/api/.env.dev
ports:
- 8000:8000
command: "sh ./entrypoint.sh"
restart: always
tf:
image: barry8000/graph-samm:ret-latest
build:
context: ./search-model
dockerfile: ./Dockerfile.model
ports:
- 8501:8501
restart: always
command: ["--model_config_file=/models/docker_models.config"]
volumes:
postgres_data: