Commit Graph

106 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
softsimon
f1188efb40
Merge pull request #2857 from Piterden/patch-1
Added syntax highlight
2023-01-26 17:38:38 +04: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
Felipe Knorr Kuhn
3e99605870
Add the missing block audit variables to the Docker script 2023-01-05 16:36:38 -08:00
Denis Efremov
1b9056298a
Added syntax highlight 2022-12-17 21:59:39 +03:00
wiz
235ac204b4
Merge branch 'master' into frontend_runtime_config 2022-11-21 17:46:02 +09:00
softsimon
9e0a91efd2
Updating Docker README 2022-10-21 21:08:48 +04:00
softsimon
601a559784
Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04:00
Felipe Knorr Kuhn
f27abb1421
Change ownership of /var/www/mempool to the Docker user 2022-10-16 14:41:39 -07:00
Felipe Knorr Kuhn
5bfc8a9d58
Use a single command to find the config path 2022-10-16 08:40:22 -07:00
Felipe Knorr Kuhn
670f85b1f5
Copy the sample config before building the frontend 2022-10-16 08:39:44 -07:00
Felipe Knorr Kuhn
cfa8a9a7d6
Update the Docker frontend startup script to read and replace runtime config values 2022-10-15 19:46:30 -07: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
19bb8988f8
docker/init.sh: Remove unused code
This code has no effect because string `master` does not exist in `api/backend-info.ts`.
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
hunicus
2be6c19ba2
Fix typo in docker docs 2022-06-24 13:55:26 -04:00
nymkappa
72a603ac37
Index block summaries in db 2022-06-18 16:48:02 +02:00
hunicus
539d41f19e
Add k3tan video link to docker readme 2022-06-15 15:51:11 -04: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
hunicus
b7c918b79d
Mention "esplora" value for blockstream/electrs 2022-05-26 22:13:37 -04:00
hunicus
9a45dea52f
Caution about manual installs in docker readme 2022-05-26 17:42:14 -04: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
hunicus
9a2043fab2
Remove $ from commands in repo docs 2022-05-09 02:35:03 -04:00
hunicus
9753af1fed
Move docker docs to ./docker/readme + edit 2022-05-03 14:08:26 -04: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