forked from teztok/indexer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
76 lines (68 loc) · 1.73 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '3'
services:
teztok_database:
image: postgres
restart: always
volumes:
- ./data/postgres/:/var/lib/postgresql/data/
env_file:
- .env.prod
teztok_ctrl:
image: teztok/indexer
restart: always
depends_on:
- teztok_database
build: .
volumes:
- ./data/:/usr/src/app/data/
env_file:
- .env.prod
teztok_event-producer:
image: teztok/indexer
restart: always
depends_on:
- teztok_ctrl
command: npm run start-worker:event-producer
volumes:
- ./data/:/usr/src/app/data/
env_file:
- .env.prod
teztok_event-processor:
image: teztok/indexer
restart: always
depends_on:
- teztok_ctrl
command: npm run start-worker:event-processor
volumes:
- ./data/:/usr/src/app/data/
env_file:
- .env.prod
teztok_fetch-metadata:
image: teztok/indexer
restart: always
depends_on:
- teztok_ctrl
command: npm run start-worker:fetch-metadata
volumes:
- ./data/:/usr/src/app/data/
env_file:
- .env.prod
teztok_rebuild-token:
image: teztok/indexer
restart: always
depends_on:
- teztok_ctrl
command: npm run start-worker:rebuild-token
volumes:
- ./data/:/usr/src/app/data/
env_file:
- .env.prod
teztok_hasura:
image: hasura/graphql-engine:v2.2.0
depends_on:
- teztok_database
restart: always
env_file:
- .env.prod
networks:
net: