-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
60 lines (59 loc) · 1.13 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
59
60
version: '3'
services:
blc:
image: "shesek/lightning-charge:0.4.23"
environment:
- API_TOKEN=mySecretToken
volumes:
- blc:/data
api-server:
build: server
depends_on:
- blc
links:
- blc
environment:
- CHARGE_ROOT=http://api-token:mySecretToken@blc:9112
- CALLBACK_URI_ROOT=http://127.0.0.1:9292
- CHARGE_API_TOKEN=mySecretToken
- ENV=development
- REDIS_URI=redis://redis:6379
volumes:
- data:/data
workers:
build: server
depends_on:
- api-server
- redis
links:
- redis
environment:
- REDIS_URI=redis://redis:6379
- ENV=development
volumes:
- data:/data
command: workers.sh
sse-server:
build:
context: sse/
depends_on:
- api-server
- redis
links:
- redis
environment:
- SUB_CHANNELS=transmissions,gossip,btc-src,auth
- REDIS_URI=redis://redis:6379
redis:
image: "redis:latest"
proxy_server:
image: proxy_server
build: nginx
depends_on:
- api-server
- sse-server
ports:
- 8080:80
volumes:
blc:
data: