forked from PlebeianApp/plebeian-market
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
87 lines (86 loc) · 1.77 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3.6'
services:
db:
build:
context: ./
dockerfile: ./services/postgres/Dockerfile
restart: always
networks:
- db_network
relay:
build:
context: ./
dockerfile: ./services/strfry/Dockerfile
restart: always
networks:
- relay_network
smtp:
build:
context: ./
dockerfile: ./services/postfix/Dockerfile
restart: always
networks:
- smtp_network
api:
build:
context: ./
dockerfile: ./api/Dockerfile
image: plebeianmarket-api
depends_on: [db]
restart: always
stop_grace_period: 1m
networks:
- db_network
- proxy
- smtp_network
finalize-auctions:
build:
context: ./
dockerfile: ./api/Dockerfile
image: plebeianmarket-finalize-auctions
depends_on: [db]
restart: always
stop_grace_period: 1m
networks:
- db_network
settle-btc-payments:
build:
context: ./
dockerfile: ./api/Dockerfile
image: plebeianmarket-btc-payments
depends_on: [db]
restart: always
stop_grace_period: 1m
networks:
- db_network
- smtp_network
settle-lightning-payments:
build:
context: ./
dockerfile: ./ln_payments_processor/Dockerfile
image: plebeianmarket-lightning-payments
depends_on: [db, birdwatcher]
restart: always
stop_grace_period: 30s
networks:
- db_network
- smtp_network
birdwatcher:
build:
context: ./
dockerfile: ./birdwatcher/Dockerfile
image: plebeianmarket-birdwatcher
depends_on: [api]
restart: always
stop_grace_period: 15s
networks:
- db_network
networks:
db_network:
driver: bridge
relay_network:
driver: bridge
smtp_network:
driver: bridge
proxy:
driver: bridge