-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (53 loc) · 1.14 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
52
53
54
55
56
57
58
services:
nsqd:
image: nsqio/nsq
command: /nsqd -data-path /data -broadcast-address=nsqd -mem-queue-size 0
ports:
- "4150"
- "4151"
volumes:
- nsqd-data:/data
nsqadmin:
image: nsqio/nsq
command: /nsqadmin -nsqd-http-address=nsqd:4151
depends_on:
- nsqd
ports:
- "4171:4171"
# Note: This container expects that the SRC_ACCESS_TOKEN environment variable is set. Check your
# .env file.
sourcegraph:
build: .
command: src:query meta-db github:collect:enqueue
env_file: ["./.env"]
volumes:
- ./data:/app/data
- ./npm:/app/npm
depends_on:
- nsqd
benthos:
image: jeffail/benthos
working_dir: /app
command:
- "-c"
- "/app/config/config.yml"
- "-r"
- "/app/config/resources.yml"
- "streams"
- "/app/streams/github.yml"
volumes:
- ./benthos:/app
- type: bind
source: ./data
target: /app/data
depends_on:
- nsqd
save-package-json:
build: .
command: github:collect:to-disk
volumes:
- ./data:/app/data
depends_on:
- nsqd
volumes:
nsqd-data: