Commit Graph

72 Commits

Author SHA1 Message Date
nymkappa
57fb305452
Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
nymkappa
5d7c9f9315
Add config.MEMPOOOL.MAX_BLOCKS_BULK_QUERY parameter (default to 0, API disable) 2023-02-25 14:22:17 +09:00
nymkappa
ce012b7d55
Remove config.MEMPOOL.PRICE_FEED_UPDATE_INTERVAL 2023-02-16 09:44:52 +09:00
Mononaut
8f2255a7a2
Add audit / block health config feature flag 2023-02-14 12:32:30 -06:00
Felipe Knorr Kuhn
fd53d7ec30
Fix missing audit Docker config 2023-01-12 23:39:09 -08:00
Mononaut
f5922b7b71
Swap TRANSACTION_INDEXING for CPFP_INDEXING in docker config 2023-01-09 10:36:08 -06:00
Mononaut
7f903b0331
Add missing vars to docker config & readme 2023-01-09 10:36:08 -06:00
softsimon
601a559784
Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04:00
Felipe Knorr Kuhn
e63096239e
Merge branch 'master' into master 2022-09-09 23:39:25 -07:00
wiz
dd9ba701ad
Merge pull request #2506 from knorrium/knorrium/fix_docker_start_script
Fix sed command for the pools json urls
2022-09-09 19:18:55 +02:00
Felipe Knorr Kuhn
aa51484b0b
Merge branch 'master' into master 2022-09-08 10:03:36 -07:00
Wes van der Vleuten
5eab47674c
Fixed forgotten CLN instance 2022-09-05 19:35:55 +02:00
Wes van der Vleuten
50ae075b1f
Fixed CLN to CLIGHTNING 2022-09-05 19:02:36 +02:00
Felipe Knorr Kuhn
a2dd0baaf6
Fix sed command for the pools json urls 2022-09-03 09:23:55 -07:00
Erik Arvstedt
34c8ad614a
backend: Rename build variable DOCKER_COMMIT_HASH -> MEMPOOL_COMMIT_HASH
This var is useful for all build methods, not only Docker.

This is an internal renaming that doesn't change the public Docker
backend image API.
2022-09-02 12:50:44 +02:00
Erik Arvstedt
be72c5109a
backend: Create npm script package
This script creates a directory `backend/package` which only contains the
files required by the backend at runtime:
- The contents of `dist`
- `node_modules` minus `typescript` and `@typescript-eslint`.
  These packages are build-only and are larger than the remaining whole package.

By using only `backend/package` in the Docker image,
the backend content size in the image is decreased by 70% to 31M.
This, along with the improved copying in the Dockerfile, reduces the
backend image size by 44% to 200M.
(Step `RUN chown -R 1000:1000 /backend ...` created a layer that effectively
duplicated the backend.)
2022-09-02 12:50:43 +02:00
Wes van der Vleuten
ad753b9d16
Added missing backend docker config 2022-09-01 06:50:42 +02:00
nymkappa
2435d12181
Add missing lightning configuration variables where needed 2022-08-19 22:08:36 +02:00
Felipe Knorr Kuhn
ce1a8053c8
Fix the latest backend Docker startup vars 2022-08-12 23:08:05 -07:00
nymkappa
aed37afb3e
Add missing config in docker script and sample 2022-08-09 17:26:14 +02:00
nymkappa
f3f0c688d8
Disable automatic block re-indexing by default 2022-07-09 19:04:35 +02:00
wiz
c5e8a83ebb
Update to Node.js v16.16.0, use shared zlib for prod 2022-07-08 17:22:56 +02:00
wiz
d57193c269
Fix npm install commands in Dockerfiles and ops scripts 2022-07-07 18:53:17 +02:00
nymkappa
72a603ac37
Index block summaries in db 2022-06-18 16:48:02 +02:00
wiz
bce8a58cf8
Fix one more broken sed substitution in docker/backend/start.sh 2022-06-08 22:13:56 +09:00
wiz
4d274a3cec
Add missing sed substitutions in docker/backend/start.sh
Fixes #1838
2022-06-08 07:50:21 +09:00
Ayanami
56dc337672
Temporary disable retries
Until we find out how to sync async
2022-06-07 04:16:37 +09:00
Ayanami
c610cacee4
Added missing config value
addressing comments from @knorrium
2022-06-07 04:16:36 +09:00
wiz
cabf486394
Merge pull request #1625 from knorrium/update_node_version
Update the recommended node version to v16.15.0 (LTS)
2022-05-17 21:57:27 +09:00
Felipe Knorr Kuhn
5d5be6f05d
Fix ELECTRUM_TLS_ENABLED Docker variable 2022-05-12 10:17:53 -07:00
Felipe Knorr Kuhn
212cced969
Update the recommended node version to v16.5.0 (LTS) 2022-05-09 21:59:09 -07:00
Felipe Knorr Kuhn
f88af9c3f9
Add the DOCKER_COMMIT_HASH env var to the backend Dockerfile 2022-03-23 12:16:21 -07:00
nymkappa
e8e4fd3457
mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json 2022-03-17 16:07:58 +01:00
wiz
822c4256d7
Merge pull request #1358 from mempool/wiz/increase-default-indexing-blocks-amount
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks
2022-03-14 13:15:54 +00:00
Djuri Baars
465529b03f sed and config fix for MySQL socket, accept CLA for @dsbaars 2022-03-14 13:45:50 +01:00
Djuri Baars
7fd9e27cc2 Add MySQL socket support 2022-03-14 13:45:34 +01:00
wiz
81984e9df5
Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks 2022-03-13 13:57:20 +00:00
Felipe Knorr Kuhn
0740049cbc
Update docker default min loglevel to info 2022-02-17 20:51:04 -08:00
nymkappa
aa0e6b807a
Add missing docker configuration variable 2022-02-11 14:22:59 +09:00
Antoni Spaanderman
62990a95f8
Merge branch 'master' into log-priority
i first forgot to fetch upstream in github, conflicts are fixed
2022-02-07 09:15:42 +01:00
Antoni Spaanderman
5c4f6d6ada
Merge branch 'master' into log-priority 2022-02-07 08:59:01 +01:00
wiz
3448d1be2a
Merge branch 'master' into external_assets_defaults 2022-02-07 06:34:54 +00:00
Felipe Knorr Kuhn
81ee0e39bc
Add EXTERNAL_ASSETS defaults to the Docker start script and the README 2022-02-05 21:24:24 -08:00
Felipe Knorr Kuhn
6b2900345a
Rename PRICENODE to PRICE_DATA_SERVER 2022-02-05 07:58:35 -08:00
Felipe Knorr Kuhn
ee7f8d8d18
Reduce currency rates polling interval from 1 hour to 10 minutes 2022-02-05 00:33:16 -08:00
Felipe Knorr Kuhn
452375aaf7
Make the Currency Conversion Service URLs configurable and log when queried 2022-02-04 22:48:16 -08:00
Antoni Spaanderman
20996cfb49
Update docker/backend/mempool-config.json
oops (2)

Co-authored-by: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com>
2022-02-04 20:03:36 +01:00
Antoni Spaanderman
30c79a2025
Update docker/backend/start.sh
oops i just copied the line above and forgot that one

Co-authored-by: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com>
2022-02-04 20:03:25 +01:00
Antoni Spaanderman
174907cf6a
add STDOUT_LOG_MIN_PRIORITY to README and docker config 2022-02-04 19:19:32 +01:00
Felipe Knorr Kuhn
8a996cedb4
Update README, reference config files and Docker with the new SOCKS config 2022-02-03 23:21:19 -08:00