-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.prod.yml
49 lines (45 loc) · 1017 Bytes
/
docker-compose.prod.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
version: '3.7'
services:
web:
image: barry8000/graph-samm:web-2021-05-01
build:
context: ./
dockerfile: ./frontend/Dockerfile.prod
volumes:
- /etc/letsencrypt:/etc/letsencrypt
- mediafiles:/data/mediafiles:ro
env_file:
- ./frontend/pwa/.env.production
ports:
- 80:80
- 443:443
restart: always
db:
image: postgres:12.0-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
env_file:
- ./backend/.env.db
restart: always
api:
image: barry8000/graph-samm:api-2021-10-21
build:
context: ./backend
dockerfile: ./Dockerfile.prod
volumes:
- mediafiles:/mediafiles
env_file:
- ./backend/.env.prod
command: "sh ./entrypoint.sh"
restart: always
tf:
image: barry8000/graph-samm:ret-2021-09-12
build:
context: ./search-model
dockerfile: ./Dockerfile.model
ports:
- 8501:8501
restart: always
volumes:
postgres_data:
mediafiles: