91 Commits

Author SHA1 Message Date
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
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
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
nymkappa
e960211ea1 Add missing docker configuration variable 2022-02-11 14:22:59 +09: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
26af45f8e2 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
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