55 Commits

Author SHA1 Message Date
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
softsimon
f1e7ea0837 Adding MEMPOOL.ENABLED config to Docker 2022-10-21 21:08:48 +04: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
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
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
nymkappa
f98b829678 Index block summaries in db 2022-06-18 16:48:02 +02: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
Felipe Knorr Kuhn
027b936952 Fix ELECTRUM_TLS_ENABLED Docker variable 2022-05-12 10:17:53 -07:00
nymkappa
fa574f6d73 mempool.space/.../pools.json => raw.githubusercontent.com/.../pools.json 2022-03-17 16:07:58 +01:00
wiz
5a04ffd128 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
320ce82885 sed and config fix for MySQL socket, accept CLA for @dsbaars 2022-03-14 13:45:50 +01:00
Djuri Baars
bc729dc6f4 Add MySQL socket support 2022-03-14 13:45:34 +01:00
wiz
398dbb5e98 Increase default INDEXING_BLOCKS_AMOUNT by 10x to 11000 blocks 2022-03-13 13:57:20 +00:00
Felipe Knorr Kuhn
fade8de22b Update docker default min loglevel to info 2022-02-17 20:51:04 -08:00
Antoni Spaanderman
3c9fa6926f 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
c1e83c9c7c Merge branch 'master' into log-priority 2022-02-07 08:59:01 +01:00
wiz
8fc3054a86 Merge branch 'master' into external_assets_defaults 2022-02-07 06:34:54 +00:00
Felipe Knorr Kuhn
20c28ae9f9 Add EXTERNAL_ASSETS defaults to the Docker start script and the README 2022-02-05 21:24:24 -08:00
Felipe Knorr Kuhn
ff20316d2e Rename PRICENODE to PRICE_DATA_SERVER 2022-02-05 07:58:35 -08:00
Felipe Knorr Kuhn
38db073726 Reduce currency rates polling interval from 1 hour to 10 minutes 2022-02-05 00:33:16 -08:00
Felipe Knorr Kuhn
78090a9676 Make the Currency Conversion Service URLs configurable and log when queried 2022-02-04 22:48:16 -08:00
Antoni Spaanderman
c0b6949227 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
f5f97806bb add STDOUT_LOG_MIN_PRIORITY to README and docker config 2022-02-04 19:19:32 +01:00
Felipe Knorr Kuhn
e036c7a5b4 Update README, reference config files and Docker with the new SOCKS config 2022-02-03 23:21:19 -08:00
nymkappa
6e61de3a96 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
7188d0d55d Added MEMPOOL.INDEXING_BLOCKS_AMOUNT in the config (default 432 blocks) 2022-01-28 15:01:23 +09:00
Felipe Knorr Kuhn
e814c3c68f Fix typos in the JSON keys 2022-01-13 00:08:07 -08:00
Felipe Knorr Kuhn
33f5a4d215 Normalize Docker environment variables and backend JSON keys 2022-01-12 21:20:14 -08:00
Felipe Knorr Kuhn
40bf423a07 Set statistics to enabled by default 2022-01-10 16:10:34 -08:00
Felipe Knorr Kuhn
85a37c9932 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
d7d963b3df Fix typo on the docker start script 2022-01-10 00:08:42 -08:00
Felipe Knorr Kuhn
f348fb1318 Make every backend parameter configurable via environment variables 2022-01-09 22:19:04 -08:00
randymcmillan
8fa42257b5 deploy: add Makefile for easier docker deploy 2021-03-23 19:57:04 -04:00
bguillaumat
6164a00303 Update var from ELECTRS to ELECTRUM for more compatibility 2021-02-26 09:04:14 +01:00
bguillaumat
71447b6b31 Update docker mempool-config 2021-02-25 10:33:04 +01:00
Bastien Guillaumat
5fbc952fda 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
c6296bc06c Set all dir to be dockerized 2021-02-02 23:45:54 +01:00
Bastien
99ddc33e62 Default dir should be the same than config-mempool.json 2021-02-02 19:25:33 +01:00