-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.prod.yml
76 lines (72 loc) · 2.19 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.7"
# before start we need set DOCKER_TAG
x-web-common:
&web-common
image: "docker.pkg.github.com/irohalab/mira-resource-indexer/indexer:${DOCKER_TAG}"
cap_add:
- SYS_ADMIN # ref https://github.com/GoogleChrome/puppeteer/blob/v1.12.1/docs/troubleshooting.md#running-puppeteer-in-docker
logging:
driver: gelf
options:
gelf-address: "udp://elastic:5000"
services:
dmhy:
<< : *web-common
command: node --title=dmhy dist/main.js
ports:
- "4000:4000"
environment:
DB_HOST: "${DB_HOST-store}"
DB_PORT: "${DB_PORT-27017}"
DB_USER: "${DB_USER-admin}"
DB_PASS: "${DB_PASS-123456}"
INDEXER_MODE: "dmhy"
DB_NAME: "dmhy_indexer"
SERVER_PORT: "4000"
SENTRY_DSN: "${SENTRY_DSN}"
APPINSIGHTS_INSTRUMENTATIONKEY: "${APPINSIGHTS_INSTRUMENTATIONKEY}"
bangumi_moe:
<< : *web-common
command: node --title=bangumi_moe dist/main.js
ports:
- "4200:4200"
environment:
DB_HOST: "${DB_HOST-store}"
DB_PORT: "${DB_PORT-27017}"
DB_USER: "${DB_USER-admin}"
DB_PASS: "${DB_PASS-123456}"
INDEXER_MODE: "bangumi_moe"
DB_NAME: "bangumi_moe_indexer"
SERVER_PORT: "4200"
SENTRY_DSN: "${SENTRY_DSN}"
APPINSIGHTS_INSTRUMENTATIONKEY: "${APPINSIGHTS_INSTRUMENTATIONKEY}"
nyaa:
<< : *web-common
command: node --title=nyaa dist/main.js
ports:
- "4300:4300"
environment:
DB_HOST: "${DB_HOST-store}"
DB_PORT: "${DB_PORT-27017}"
DB_USER: "${DB_USER-admin}"
DB_PASS: "${DB_PASS-123456}"
INDEXER_MODE: "nyaa"
DB_NAME: "nyaa_indexer"
SERVER_PORT: "4300"
SENTRY_DSN: "${SENTRY_DSN}"
APPINSIGHTS_INSTRUMENTATIONKEY: "${APPINSIGHTS_INSTRUMENTATIONKEY}"
acg_rip:
<< : *web-common
command: node --title=acg_rip dist/main.js
ports:
- "4400:4400"
environment:
DB_HOST: "${DB_HOST-store}"
DB_PORT: "${DB_PORT-27017}"
DB_USER: "${DB_USER-admin}"
DB_PASS: "${DB_PASS-123456}"
INDEXER_MODE: "acg_rip"
DB_NAME: "acg_rip_indexer"
SERVER_PORT: "4400"
SENTRY_DSN: "${SENTRY_DSN}"
APPINSIGHTS_INSTRUMENTATIONKEY: "${APPINSIGHTS_INSTRUMENTATIONKEY}"