-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathTiltfile
More file actions
54 lines (47 loc) · 1.07 KB
/
Tiltfile
File metadata and controls
54 lines (47 loc) · 1.07 KB
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
ci_settings(readiness_timeout = '10m')
docker_compose([
"./docker-compose.yml",
], profiles = ["polar", "loop", "mempool", "40swap"])
# Labels are used to group containers on the UI.
labels = {
'nodeguard': [
'postgres',
'nbxplorer',
],
'loop': [
'loopserver',
'loopd-bob',
'loopd-carol',
],
'bitcoin': [
'bitcoind',
'alice',
'bob',
'carol',
'setup',
],
'mempool': [
'mempool-frontend-btc',
'mempool-backend-btc',
'mempool-db-btc',
'electrumx',
],
'40swap': [
'40swap-lnd-setup',
'40swap-postgres-backend',
'40swapd-postgres-bob',
'40swapd-postgres-carol',
'40swapd-bob',
'40swapd-carol',
'40swap-backend',
],
}
for (label, services) in labels.items():
for s in services:
# Mempool and 40swap-frontend services are included but stopped by default (auto_init=False)
if label == 'mempool':
dc_resource(s, auto_init=False, labels = [label])
elif label == '40swap':
dc_resource(s, auto_init=False, labels = [label])
else:
dc_resource(s, labels = [label])