forked from thoth-pub/thoth
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (40 loc) · 855 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (40 loc) · 855 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
version: "3.5"
services:
db:
image: postgres:12
container_name: "thoth_db"
restart: unless-stopped
volumes:
- db:/var/lib/postgresql/data
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
graphql-api:
image: openbookpublishers/thoth
container_name: "thoth_graphql_api"
restart: unless-stopped
env_file:
- .env
depends_on:
- db
export-api:
image: openbookpublishers/thoth
container_name: "thoth_export_api"
restart: unless-stopped
command: ["start", "export-api"]
env_file:
- .env
depends_on:
- graphql-api
app:
image: openbookpublishers/thoth
container_name: "thoth_app"
restart: unless-stopped
command: ["start", "app"]
env_file:
- .env
depends_on:
- graphql-api
- export-api
volumes:
db: