Commit Graph

236 Commits

Author SHA1 Message Date
junderw
925ebf08d4
Fix Docker build for using napi-rs 2023-07-06 18:05:21 -07:00
Mononaut
8f675c7062
Add Rust GBT config flag 2023-07-03 10:18:18 -04:00
Antoni Spaanderman
0d69ad43ab
fix config issues 2023-06-18 20:34:56 +02:00
Antoni Spaanderman
e9386ec003
Add Bitcoin Core RPC cookie authentication option 2023-06-18 19:16:07 +02:00
Peter
5f3fd85834 the last two docker-compose overrides need MEMPOOL_ in front 2023-06-15 21:39:51 -04:00
Felipe Knorr Kuhn
b00e0b6a73
Fix Docker config file to use the correct types 2023-05-14 14:26:38 -07:00
Felipe Knorr Kuhn
de434bb398
Add missing Lightning config 2023-05-14 13:26:35 -07:00
Felipe Knorr Kuhn
804485a526
Add missing DATABASE_TIMEOUT config 2023-05-14 13:20:18 -07:00
Felipe Knorr Kuhn
178da3df26
Use the same delimiter for all substitutions 2023-05-14 13:13:37 -07:00
Mononaut
3355419761
fix missing FULL_RBF_ENABLED config entries 2023-05-03 13:00:22 -06:00
Mononaut
e05f2198d5
Add explicit timeout to mysql DB queries 2023-04-28 19:21:03 -06:00
nymkappa
dfe2cf631f
[config] fix docker esplora config and template 2023-04-08 10:42:08 +09:00
nymkappa
d6913b6439
[config] add missing RETRY_UNIX_SOCKET_AFTER 2023-04-07 13:28:32 +09:00
wiz
bdb7e62921
Merge branch 'master' into ops/esplora-unix-sockets 2023-04-03 15:34:47 +09:00
wiz
75303c7a34
docker: Minor tweak to frontend entrypoint LND detection 2023-03-21 21:50:46 +09:00
wiz
876feef53f
Fix frontend docker entrypoint umbrel LND detection 2023-03-21 18:11:10 +09:00
wiz
cb8fdb5e8d
Hack docker frontend entrypoint to auto-enable lightning 2023-03-21 15:57:22 +09:00
wiz
ccab8b16bf
Merge branch 'master' into ops/esplora-unix-sockets 2023-03-21 14:29:06 +09:00
wiz
cce7dd917f
Merge branch 'master' into nymkappa/configurable-timeout 2023-03-20 17:38:40 +09:00
nymkappa
c6e063ea2f
Make lnd timeout configurable 2023-03-20 16:35:44 +09:00
nymkappa
81d563381a
Make bitcoin core timeout configurable 2023-03-20 16:15:40 +09:00
softsimon
870e895144
Correcting docker disk cache config variable 2023-03-20 16:12:56 +09:00
softsimon
517cf613c1
Removing Sigterm. Cache write block interval configuration. 2023-03-20 15:46:05 +09:00
wiz
32c2db2153
Fix backend docker config path for GeoIP data 2023-03-19 18:42:38 +09:00
wiz
0abb9cbb7c
Fix boolean configuration option in docker backend config 2023-03-19 17:49:37 +09:00
wiz
e2e71c7a46
Add Maxmind GeoIP Lite download to Docker build 2023-03-19 17:49:08 +09:00
nymkappa
af6d115dbb
Add missing MAXMIND in docker configs - Remove duplicated __MEMPOOL_INDEXING_BLOCKS_AMOUNT__ 2023-03-19 15:39:17 +09:00
Mononaut
96a41400f4
Add axios support for esplora unix sockets 2023-03-13 14:53:44 +09:00
Felipe Knorr Kuhn
1a4f3b105e
Fix typo in bulk config variable 2023-03-07 12:29:00 -08:00
nymkappa
d5342a4e9a
Add frontend config flag to toggle historical price fetching 2023-03-01 17:26:53 +09:00
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
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
nymkappa
6ebbc5667d
Small improvements on the mining page UX
- INDEXING_BLOCKS_AMOUNT = 0 disable indexing, INDEXING_BLOCKS_AMOUNT = -1 indexes everything
- Show only available timespan in the mining page according to available datas
- Change default INDEXING_BLOCKS_AMOUNT to 1100

Don't use unfiltered mysql user input

Enable http cache header for mining pools (1 min)
2022-01-28 15:01:24 +09:00
nymkappa
647f12ffaa
Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks) 2022-01-28 15:01:23 +09:00
Felipe Knorr Kuhn
af8c8a2088
Fix typos in the JSON keys 2022-01-13 00:08:07 -08:00
Felipe Knorr Kuhn
d70c610741
Fetch the dereferenced commit from the tag 2022-01-12 22:36:24 -08:00
Felipe Knorr Kuhn
359e111ae4
Normalize Docker environment variables and backend JSON keys 2022-01-12 21:20:14 -08:00
Felipe Knorr Kuhn
831cd580e0
Delete Docker README 2022-01-12 17:18:52 -08:00
Felipe Knorr Kuhn
ce8518ad58
List all environment variables to override in the README 2022-01-10 23:31:05 -08:00
Felipe Knorr Kuhn
865fe488bf
Make the RPC user and pass explicit in the example docker-compose file 2022-01-10 23:30:31 -08:00
Felipe Knorr Kuhn
467cac7d4d
Remove the troubleshooting section from the Docker README 2022-01-10 22:11:02 -08:00
Felipe Knorr Kuhn
3a0fb2015a
Address feedback on the Docker README 2022-01-10 22:06:15 -08:00
Felipe Knorr Kuhn
bfb5abaa71
Update Docker README file 2022-01-10 21:10:58 -08:00
Felipe Knorr Kuhn
6cb2625303
Update the reference docker-compose.yml file 2022-01-10 21:09:06 -08:00
Felipe Knorr Kuhn
2d292e27b9
Add the empty directories needed by docker-compose 2022-01-10 20:31:36 -08:00
Felipe Knorr Kuhn
745b7d6f65
Set statistics to enabled by default 2022-01-10 16:10:34 -08:00
Felipe Knorr Kuhn
ba895559bf
Fix a few sed commands in the Docker backend start script that needed escaping 2022-01-10 00:42:42 -08:00
Felipe Knorr Kuhn
513886f6d2
Fix typo on the docker start script 2022-01-10 00:08:42 -08:00
Felipe Knorr Kuhn
09fe7346bc
Make every backend parameter configurable via environment variables 2022-01-09 22:19:04 -08:00
Felipe Knorr Kuhn
4173486f4d
Update the template backend mempool-config.json file used by the Docker image 2022-01-09 22:18:29 -08:00
softsimon
24f76f2f37
Remove all references to SQL tables import
fixes #1045
2022-01-05 13:26:36 +04:00
Felipe Knorr Kuhn
e00234dfb9
Set Dockerfiles to use Node v16.10.0 2021-12-06 23:52:23 -08:00
Felipe Knorr Kuhn
bdfcfc96a8
Add script to pull digests from docker images (#705) 2021-08-27 19:04:51 +09:00
Felipe Knorr Kuhn
777e3d58b7 Fix non-deterministic TypeScript version on Dockerfile 2021-08-27 00:28:05 -07:00
Felipe Knorr Kuhn
f6e4907128 skip downloading the Cypress binary on Docker 2021-06-26 16:48:57 -07:00
Felipe Knorr Kuhn
446bdfebea update FE Dockerfile to read short sha 2021-06-25 23:47:19 -07:00
Felipe Knorr Kuhn
ca267744a6 fixes to the electrum Dockerfile 2021-03-24 16:24:04 -07:00
randymcmillan
402c5e3444
deploy: add Makefile for easier docker deploy 2021-03-23 19:57:04 -04:00
bguillaumat
9e2581d734 Update var from ELECTRS to ELECTRUM for more compatibility 2021-02-26 09:04:14 +01:00
bguillaumat
4a24a173d3 Update docker README 2021-02-25 10:40:14 +01:00
bguillaumat
05098b1141 Update docker mempool-config 2021-02-25 10:33:04 +01:00
pox
26ba41cb91
a bit of formatting for the docker readme (#348) 2021-02-18 11:11:31 +07:00
wiz
2085833720
Fix docker/README example docker-compose.xml to use latest tag 2021-02-10 22:56:42 +09:00
Bastien Guillaumat
20ff62779d
Re-implement Docker workflow using GitHub Actions (#326)
* Recreate a docker dir with all docker files inside and add init.sh
* Add docker/README.md with example docker-compose.xml
* Add mysql vars for mempool-config.json
* Port can be set from env var in docker-compose.xml
* Update docker-compose.xml example to use latest tag
* Remove armv7 architecture from build workflow
* Remove master git-hash file
* Remove useless ':' in sed
2021-02-10 22:51:01 +09:00
Bastien
543fe8c735 Set all dir to be dockerized 2021-02-02 23:45:54 +01:00
Bastien
f3e97e2e2d Default dir should be the same than config-mempool.json 2021-02-02 19:25:33 +01:00
Bastien
a36b5c660d Fix ENV_VAR issues 2021-02-02 19:20:05 +01:00
Bastien
2d872bda47 Update package.json && Fix start.sh script 2021-02-02 18:01:23 +01:00
Bastien
91d4017aa6 Update ENV_VARIABLES in scripts && Fix some errors 2021-02-02 17:54:01 +01:00
Bastien Guillaumat
6efe055003
Apply Wiz suggestions
Co-authored-by: wiz <j@wiz.biz>
2021-02-02 16:34:21 +01:00
Bastien
c26737ffd6 Update build.sh 2021-02-01 18:17:50 +01:00
Bastien
feb5e96323 Add docker dir to build mempool containers 2021-02-01 17:25:08 +01:00