108 Commits

Author SHA1 Message Date
Felipe Knorr Kuhn
7a24713fb8 Fix typo in bulk config variable 2023-03-07 12:29:00 -08:00
nymkappa
27fad27126 Add frontend config flag to toggle historical price fetching 2023-03-01 17:26:53 +09:00
nymkappa
90bc1bc28e Update missing "pools.json" -> "pools-v2.json" 2023-02-26 13:54:43 +09:00
nymkappa
06a83efef0 Add config.MEMPOOOL.MAX_BLOCKS_BULK_QUERY parameter (default to 0, API disable) 2023-02-25 14:22:17 +09:00
nymkappa
d0e52f3695 Remove config.MEMPOOL.PRICE_FEED_UPDATE_INTERVAL 2023-02-16 09:44:52 +09:00
Mononaut
240b4cb6e2 Add audit / block health config feature flag 2023-02-14 12:32:30 -06:00
softsimon
57aa24fdca Merge pull request #2857 from Piterden/patch-1
Added syntax highlight
2023-01-26 17:38:38 +04:00
Felipe Knorr Kuhn
72ce8120b4 Fix missing audit Docker config 2023-01-12 23:39:09 -08:00
Mononaut
bfadcd2d45 Swap TRANSACTION_INDEXING for CPFP_INDEXING in docker config 2023-01-09 10:36:08 -06:00
Mononaut
17a34fef0c Add missing vars to docker config & readme 2023-01-09 10:36:08 -06:00
Felipe Knorr Kuhn
af69ae2f94 Add the missing block audit variables to the Docker script 2023-01-05 16:36:38 -08:00
Denis Efremov
aae5d48df6 Added syntax highlight 2022-12-17 21:59:39 +03:00
wiz
8e8885b2d6 Merge branch 'master' into frontend_runtime_config 2022-11-21 17:46:02 +09:00
softsimon
3dbd8dea33 Updating Docker README 2022-10-21 21:08:48 +04:00
softsimon
f1e7ea0837 Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04:00
Felipe Knorr Kuhn
6cdeb18ab5 Change ownership of /var/www/mempool to the Docker user 2022-10-16 14:41:39 -07:00
Felipe Knorr Kuhn
5c751de127 Use a single command to find the config path 2022-10-16 08:40:22 -07:00
Felipe Knorr Kuhn
548ea33316 Copy the sample config before building the frontend 2022-10-16 08:39:44 -07:00
Felipe Knorr Kuhn
4309bfff9b Update the Docker frontend startup script to read and replace runtime config values 2022-10-15 19:46:30 -07:00
Felipe Knorr Kuhn
471d67218e Merge branch 'master' into master 2022-09-09 23:39:25 -07:00
wiz
d54c87d591 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
34ef9ca8a3 Merge branch 'master' into master 2022-09-08 10:03:36 -07:00
Wes van der Vleuten
cd3a59273e Fixed forgotten CLN instance 2022-09-05 19:35:55 +02:00
Wes van der Vleuten
97e918e212 Fixed CLN to CLIGHTNING 2022-09-05 19:02:36 +02:00
Felipe Knorr Kuhn
72f45230c5 Fix sed command for the pools json urls 2022-09-03 09:23:55 -07:00
Erik Arvstedt
4d138bcc97 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
74f90c73d8 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
8f94788248 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
5847551aaa Added missing backend docker config 2022-09-01 06:50:42 +02:00
nymkappa
4139e64492 Add missing lightning configuration variables where needed 2022-08-19 22:08:36 +02:00
Felipe Knorr Kuhn
bc502fc6b5 Fix the latest backend Docker startup vars 2022-08-12 23:08:05 -07:00
nymkappa
fd87bef8da Add missing config in docker script and sample 2022-08-09 17:26:14 +02:00
nymkappa
918d991cdd Disable automatic block re-indexing by default 2022-07-09 19:04:35 +02:00
wiz
2980790fad Update to Node.js v16.16.0, use shared zlib for prod 2022-07-08 17:22:56 +02:00
wiz
15e2c10e45 Fix npm install commands in Dockerfiles and ops scripts 2022-07-07 18:53:17 +02:00
hunicus
9f9508d821 Fix typo in docker docs 2022-06-24 13:55:26 -04:00
nymkappa
f98b829678 Index block summaries in db 2022-06-18 16:48:02 +02:00
hunicus
df92b90d89 Add k3tan video link to docker readme 2022-06-15 15:51:11 -04:00
wiz
87a1c1e489 Fix one more broken sed substitution in docker/backend/start.sh 2022-06-08 22:13:56 +09:00
wiz
04262ad871 Add missing sed substitutions in docker/backend/start.sh
Fixes #1838
2022-06-08 07:50:21 +09:00
Ayanami
b4b814e2f9 Temporary disable retries
Until we find out how to sync async
2022-06-07 04:16:37 +09:00
Ayanami
0cc970ce68 Added missing config value
addressing comments from @knorrium
2022-06-07 04:16:36 +09:00
hunicus
b2aa83265c Mention "esplora" value for blockstream/electrs 2022-05-26 22:13:37 -04:00
hunicus
040e520681 Caution about manual installs in docker readme 2022-05-26 17:42:14 -04:00
wiz
c394cdb201 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
027b936952 Fix ELECTRUM_TLS_ENABLED Docker variable 2022-05-12 10:17:53 -07:00
Felipe Knorr Kuhn
adcaa712a8 Update the recommended node version to v16.5.0 (LTS) 2022-05-09 21:59:09 -07:00
hunicus
411f764ff6 Remove $ from commands in repo docs 2022-05-09 02:35:03 -04:00
hunicus
3c3c5b787b Move docker docs to ./docker/readme + edit 2022-05-03 14:08:26 -04:00
Felipe Knorr Kuhn
8c27165b8a Add the DOCKER_COMMIT_HASH env var to the backend Dockerfile 2022-03-23 12:16:21 -07:00