forked from harporoeder/tokio-nsq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (39 loc) · 861 Bytes
/
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
version: '2.3'
services:
nsq:
image: nsqio/nsq
restart: always
volumes:
- ./keys:/keys:ro
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160 --tls-cert /keys/cert.pem --tls-key /keys/key.pem
depends_on:
- nsqlookupd
nsqwithauth:
image: nsqio/nsq
restart: always
command: /nsqd --auth-http-address=nsqauth:8080
depends_on:
- nsqauth
nsqlookupd:
image: nsqio/nsq
restart: always
command: /nsqlookupd
nsqadmin:
image: nsqio/nsq
restart: always
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
depends_on:
- nsqlookupd
nsqauth:
image: node
working_dir: "/app"
restart: always
volumes:
- .:/app:ro
command: node auth.js
dev:
image: rust
working_dir: "/app"
user: "${UID}:${GID}"
volumes:
- .:/app:rw