@@ -37,7 +37,7 @@ services:
37
37
- ' --web.console.templates=/usr/share/prometheus/consoles'
38
38
ports :
39
39
- 9090:9090
40
- network_mode : " host"
40
+ # network_mode: "host"
41
41
restart : always
42
42
43
43
grafana :
@@ -47,38 +47,77 @@ services:
47
47
- prometheus
48
48
ports :
49
49
- 3000:3000
50
- network_mode : " host"
50
+ # network_mode: "host"
51
51
volumes :
52
52
- grafana_data:/var/lib/grafana
53
53
- ./build/grafana/provisioning/:/etc/grafana/provisioning/
54
54
env_file :
55
55
- ./build/grafana/config.monitoring
56
56
restart : always
57
57
58
- # lily:
59
- # container_name: lily
60
- # # Select (only one) image
61
- # image: filecoin/lily:v0.8.0
62
- # image: filecoin/lily:v0.8.0-calibnet
63
- # image: filecoin/lily:v0.8.0-calibnet-dev
64
- # env_file:
65
- # # Check envvars for configurable options
66
- # - ./build/lily/docker.env
67
- # depends_on:
68
- # - prometheus
69
- # - timescaledb
70
- # - jaeger
71
- # ports:
72
- # - 1234:1234
73
- # volumes:
74
- # - lily_data:/var/lib/lily
75
- # - ./build/lily/docker_init.sh:/usr/bin/docker_init.sh
76
- # entrypoint: /usr/bin/docker_init.sh
77
- # command:
78
- # - daemon
58
+ redis-queue :
59
+ image : bitnami/redis:7.0
60
+ env_file :
61
+ # Check envvars for configurable options
62
+ - ./build/lily/redis-queue.env
63
+ ports :
64
+ - 6379:6379
65
+ restart : always
66
+
67
+ notifier :
68
+ image : filecoin/lily:v0.11.0
69
+ env_file :
70
+ # Check envvars for configurable options
71
+ - ./build/lily/notifier.env
72
+ depends_on :
73
+ - prometheus
74
+ - timescaledb
75
+ - jaeger
76
+ - redis-queue
77
+ ports :
78
+ - 1234:1234
79
+ volumes :
80
+ # holds lily datastore repo
81
+ - lily_notifier_data:/var/lib/lily
82
+ # persist params through restarts
83
+ - lily_notifier_tmp:/var/tmp/filecoin-proof-parameters
84
+ # notifier-specific config
85
+ - ./build/lily/notifier_config.toml:/var/lib/lily/config.toml
86
+ - ./build/lily/docker_init.sh:/usr/bin/docker_init.sh
87
+ entrypoint : /usr/bin/docker_init.sh
88
+ command :
89
+ - " daemon --bootstrap=false"
90
+
91
+ worker :
92
+ image : filecoin/lily:v0.11.0
93
+ env_file :
94
+ # Check envvars for configurable options
95
+ - ./build/lily/worker.env
96
+ depends_on :
97
+ - prometheus
98
+ - timescaledb
99
+ - jaeger
100
+ - redis-queue
101
+ - notifier
102
+ ports :
103
+ - 1234
104
+ volumes :
105
+ # holds lily datastore repo
106
+ - lily_worker_data:/var/lib/lily
107
+ # persist params through restarts
108
+ - lily_worker_tmp:/var/tmp/filecoin-proof-parameters
109
+ # notifier-specific config
110
+ - ./build/lily/worker_config.toml:/var/lib/lily/config.toml
111
+ - ./build/lily/docker_init.sh:/usr/bin/docker_init.sh
112
+ entrypoint : /usr/bin/docker_init.sh
113
+ command :
114
+ - " daemon --bootstrap=false"
79
115
80
116
volumes :
81
117
timescaledb : {}
82
118
prometheus_data : {}
83
119
grafana_data : {}
84
- lily_data : {}
120
+ lily_notifier_data : {}
121
+ lily_worker_data : {}
122
+ lily_notifier_tmp : {}
123
+ lily_worker_tmp : {}
0 commit comments