wiz
ed488a763d
Remove old install script, merge remaining stuff into upgrade script
2022-03-12 11:52:19 +00:00
wiz
9786f1794f
Install production backend/frontend configurations from master
2022-03-12 10:53:37 +00:00
wiz
597c62ede3
Remove INDEXING_BLOCKS_AMOUNT from mainnet frontend configuration
2022-03-12 10:39:28 +00:00
wiz
f8787e525b
Add production frontend configurations
2022-03-12 10:34:17 +00:00
wiz
6fc0311b8e
Merge branch 'master' into wiz/installer2
2022-03-11 16:17:51 +00:00
wiz
e7ab595811
Fix order of operations in install script breaking things
2022-03-11 15:03:14 +00:00
wiz
ca2e29acf8
Install nvm.sh and build NodeJS from install script
2022-03-11 14:51:08 +00:00
wiz
589f3c5bb5
Create $HOME/.zshrc file for all users in install script
2022-03-11 14:35:58 +00:00
wiz
22f1ef9d22
Remove sudoers file modifications from install script
2022-03-11 14:14:45 +00:00
wiz
bee0cf2c65
Fix electrs-start-liquidtestnet configuration in install script
2022-03-11 14:11:38 +00:00
wiz
a140d28a0e
Fix zfs filesystems and permissions in installation script
2022-03-10 12:14:40 +00:00
wiz
1bc9f106a1
Add signet and liquidtestnet to install script
2022-03-09 20:59:12 +01:00
wiz
742df00701
Add missing electrs-start-liquid in install script
2022-03-08 21:22:11 +01:00
wiz
1e87c3857b
Add new production installation script and related files
2022-03-08 20:46:58 +01:00
nymkappa
f23f7f1cfa
Cleanup empty block in api response - Update cache warmer
2022-03-08 20:46:19 +01:00
nymkappa
c419b7dd1a
Add new api endpoint to cache warmer
2022-02-25 10:21:16 +09:00
nymkappa
6e62c62855
Add /api/v1/mining/hashrate/* apis to the cache warmer
2022-02-21 18:01:09 +09:00
wiz
01d6f4f737
Fix nginx configuration for liquid assets APIs
2022-02-07 03:34:16 +04:00
wiz
f0398e906d
Add nginx configuration for liquid assets APIs
2022-02-07 03:34:15 +04:00
nymkappa
e48a2f73e4
Replaced /mining/pools?interval=X by /mining/pools/X
2022-02-02 19:03:07 +09:00
wiz
f842316636
Let backend set its own HTTP cache time headers for APIs
2022-01-28 13:59:04 +00:00
wiz
55652130a8
Enable nginx warm cache for mining pools API data
2022-01-28 13:33:29 +00:00
wiz
493dbb1b1a
Increase nginx send_timeout and keepalive_requests
...
Fixes #425
2022-01-27 05:56:38 +00:00
wiz
4787b6353a
Merge pull request #1142 from mempool/wiz/update-nginx-conf-for-services-apis
...
Update nginx.conf for mempool.space services APIs
2022-01-15 06:22:44 +00:00
wiz
a710934830
Update production nginx.conf resource cache times
2022-01-14 22:35:25 +09:00
wiz
9a47191e10
Update nginx.conf for mempool.space services APIs
2022-01-14 20:56:41 +09:00
wiz
ee1985bb3d
Fix newsyslog.conf owner and pidfile location
2022-01-14 19:21:42 +09:00
wiz
b501f7228c
Fix typo in nginx-cache-warmer script
2022-01-13 17:59:51 +09:00
wiz
2cb50c2351
Add nginx cache warmer script for production use
2022-01-13 15:06:13 +09:00
wiz
f0c53a4e5b
Improve nginx caching and use redirects for i18n
2022-01-12 23:12:49 +09:00
wiz
cc621b10ce
Update Tor onion hostnames for bisq.markets and liquid.network
2022-01-11 11:18:22 +09:00
wiz
0106f44129
Add production/torrc file to git repo
2022-01-10 18:37:54 +09:00
softsimon
d27b125848
Merge branch 'master' into simon/removing-sql-import-references
...
# Conflicts:
# production/README.md
2022-01-05 13:51:58 +04:00
softsimon
24f76f2f37
Remove all references to SQL tables import
...
fixes #1045
2022-01-05 13:26:36 +04:00
wiz
81bb31090e
Use upstream hostnames in production nginx configuration
2022-01-05 18:12:05 +09:00
wiz
c778e84247
Add missing } at end of nginx/server-common.conf
2022-01-04 17:27:37 +09:00
wiz
4de1d017ad
Update production configurations + README for v2.3
...
* Refactor production nginx configuration files
* Update README for new networks, SQL, etc.
2022-01-04 16:38:12 +09:00
wiz
853314ba58
Add missing liquidtestnet backend to upgrade script
2021-12-31 06:55:16 +09:00
wiz
96e8f45e5b
Add support for liquidtestnet in production backend and nginx
2021-12-28 15:20:11 +09:00
wiz
9e8ee4fedc
Tweak upgrade script to search for remote origin branches
2021-12-09 18:12:06 +09:00
wiz
638d6d896a
Update newsyslog-mempool-nginx.conf for all nginx log paths
2021-11-18 15:28:44 +09:00
wiz
836f0f065d
Enable i18n locale Thai (th)
2021-11-17 21:03:35 +09:00
wiz
9f68f57d8a
Enable address autocomplete for all networks
2021-11-10 07:56:07 +01:00
wiz
f90e19c767
Update production backend configuration files
...
* Set syslog priority to DEBUG since we're not Raspberry Pi
* Add 2nd core RPC configuration stubs for mainnet / liquid
2021-09-25 01:19:33 +09:00
softsimon
07ba2f6ecc
Merge pull request #792 from mempool/i18n/add-macedonian
...
Add new locale: Macedonian (mk)
2021-09-17 13:54:03 +04:00
wiz
d22dc0888a
Add new locale: Macedonian (mk)
2021-09-17 15:03:52 +09:00
wiz
75fb27c690
Add new locale: Romanian (ro)
2021-09-17 15:02:15 +09:00
wiz
3fad765269
Add newsyslog.conf for nginx log rotation - delete logs after 90 days
2021-09-11 08:40:58 +09:00
wiz
beb834bc30
Update syslog.conf and upgrade/restart scripts for new keybase channels
2021-09-02 19:30:54 +09:00
wiz
ca6df488c5
Fix missing fetch command in upgrade script
2021-08-21 21:56:42 +09:00
wiz
1e018a6aa5
Fix typo/bug in mempool-logger script
2021-08-21 15:39:15 +09:00
wiz
0a627f96be
Tweak production syslog configuration
2021-08-21 15:19:29 +09:00
wiz
17a8e67d8a
Modify restart script to log restart events, don't restart services
2021-08-21 15:06:50 +09:00
wiz
815c2c5ad5
Modify upgrade script for PR branch deployment, tweak logging
2021-08-21 14:51:19 +09:00
wiz
7e89de4612
Send deployment notifications to mempool.dev keybase group
2021-08-20 21:52:54 +09:00
wiz
8bfd315ba3
Rewrite production upgrade script to handle all 3 sites
2021-08-14 06:03:30 +09:00
wiz
994eb378af
Update production nginx-mempool.conf for donations API endpoint
2021-08-11 01:00:17 +09:00
wiz
1223c58a98
Add missing --db-dir
option in electrs-start-liquid script
2021-08-08 05:18:11 +09:00
wiz
7d3757676f
Enable 'ca' locale for Catalan
2021-08-08 01:05:42 +09:00
wiz
857a5ff6fc
Add missing asset_registry_db repo path for liquid electrs backend
...
Fixes #649
2021-07-29 17:49:42 +09:00
wiz
59898f1269
Patch sysconf dep for blockstream/electrs build in start scripts
2021-07-25 15:20:35 +09:00
wiz
f2f5749769
Update nginx configuration for cache settings and new locales
...
* Consolidates add_header statements into single top-level section
* Updates locales to match frontend/src/app/app.constants.ts
* Re-orders locales to match locale selector for easier checking
2021-07-19 18:36:13 +09:00
wiz
74c49b9ae7
Enable i18n locale for Russian (ru)
2021-06-13 15:05:21 -05:00
wiz
c09eb651ef
Add production/nginx-bisq.conf for bisq.markets usage
2021-05-11 14:18:25 +09:00
wiz
f281e84396
Disable caching of electrs endpoints in production/nginx.conf
2021-05-06 21:20:13 +09:00
wiz
0d03a9e6cc
Send HTTP header Vary: Cookie to prevent localization cache bug
...
Fixes #477
2021-04-27 19:00:33 +09:00
softsimon
3a957ece05
Merge branch 'master' into simon/bisq-dashboard
...
# Conflicts:
# frontend/src/locale/messages.xlf
2021-04-26 01:41:07 +04:00
wiz
6dbfcc9d1a
Enable i18n for Polish language
2021-04-26 05:43:47 +09:00
softsimon
5878a2e631
Unified Bisq config
2021-04-25 02:38:46 +04:00
wiz
d51ea54ab9
Add production FreeBSD tuning parameters to increase network buffers
2021-04-16 00:12:29 +09:00
wiz
3300f0e8d3
Set production backend config "CLEAR_PROTECTION_MINUTES": 5
2021-04-15 21:44:38 +09:00
wiz
d5cc558670
Modify nginx.conf to cache HTML for 10m and static resources for 1h
...
Fixes #61
2021-03-08 18:50:57 +09:00
wiz
a52f98c39d
Proxy /api/v1/contributors from mempool.space, also fix HTTP headers
...
Fixes #366
2021-03-08 18:34:04 +09:00
wiz
892cebd8f4
Enable sending CORS headers from electrs backend in startup script
...
Fixes #367
2021-03-03 21:29:18 +09:00
softsimon
a3d9e87f0e
Adding Hebrew language
2021-02-25 17:16:22 +07:00
wiz
6a7d5fbe6a
Don't start production instances if backend folder doesn't exist
2021-02-25 02:38:38 +09:00
wiz
619eee9492
Improve production high availability using structured failover and cache
2021-02-23 13:33:52 +09:00
wiz
c9f2bd4029
Update nginx and mempool backend configuration for active failover HA
2021-02-22 20:22:38 +09:00
wiz
0b79aaaf2f
Don't use rust from rustup, use OS package rust instead
2021-02-21 03:44:54 +09:00
wiz
7d858a8abd
Modify production startup scripts to support signet
2021-02-21 03:44:33 +09:00
wiz
32af9420dc
Update production frontend/backend config to support signet
2021-02-21 03:41:52 +09:00
wiz
7195d6ea31
Update nginx.conf for signet, services, and disable SSR for now
2021-02-21 03:39:19 +09:00
softsimon
edce0d118a
Updating mempool logo and adding new mempool space logo. New frontend config OFFICIAL_MEMPOOL_SPACE to enable the latter.
...
fixes #336
2021-02-18 13:34:05 +07:00
wiz
befb192651
Reduce backend heap size setting to 2G since cache memory usage was optimized ( #345 )
...
On powerful servers, nodejs automatically sets the limit at 4GB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 4144 Mb
```
On a Raspberry Pi with 8GB RAM, nodejs automatically sets the limit at 1GB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 1048 Mb
```
On a Raspberry Pi with 4GB RAM, nodejs automatically sets the limit at 740MB
```
% node -e 'console.log(`node heap limit = ${require("v8").getHeapStatistics().heap_size_limit / (1024 * 1024)} Mb`)'
node heap limit = 739.4694900512695 Mb
```
After testing with manually setting the limit to 768MB, mempool starts
up fine, but crashes when saving the cache when the mempool is quite
large (over 400MB with custom bitcoin.conf setting).
So it's probably safe to reduce the 4GB limit setting to 2GB for
all devices and and just use the automatically set values, now that the
backend's disk cache memory usage was recently optimized.
However, a new npm script for `npm run start-production` will be added
so we can keep our production mempool.space servers running with a very
large bitcoin.conf mempool
2021-02-14 22:25:29 +07:00
wiz
378a56b2c7
Set production electrs scripts to store db in /electrs
2021-02-04 15:53:08 +09:00
wiz
8e42d573ee
Modify production electrs scripts to use relative paths from homedir
2021-02-04 12:17:28 +09:00
wiz
d3646aa45e
Fix production nginx.conf and backend config to always use unique ports
2021-01-31 01:16:32 +09:00
wiz
6a9c4d82ec
Rename production syslog notifications channel
2021-01-30 23:40:46 +09:00
wiz
42ad068dd2
Configure production backends and nginx for high availability electrs
2021-01-30 23:01:01 +09:00
softsimon
9d317082e1
Replacing localhost with 127.0.0.1
2021-01-30 18:43:58 +07:00
wiz
edf8f1fc8a
Update production upgrade script notification command
2021-01-30 20:31:47 +09:00
wiz
ad52e7fe7e
Update production syslog scripts
2021-01-30 20:09:47 +09:00
softsimon
47dd1f2d0b
Adding Italian language. Updating nginx conf with some missing languages.
2021-01-27 20:24:32 +07:00
softsimon
6507b5e003
Adding hungarian language.
2021-01-24 04:19:50 +07:00
wiz
0336c6256a
Don't create empty cache.json on startup anymore
2021-01-18 12:20:55 +09:00
wiz
a05af48059
Add missing production/mempool-frontend-config.json
2021-01-11 23:14:08 +09:00
wiz
3e2a49c08e
Update production/mempool-config.*.json files for new backend config
2021-01-11 17:42:35 +09:00
wiz
b261243f85
Rewrite server.ts to fix i18n and implement proper HTTP 404 responses
2020-12-23 13:26:11 +09:00
wiz
6491d4576a
Fixes after merging master into AU branch, add nginx.conf for SSR
2020-12-22 11:31:49 +09:00
wiz
0d50bbdc0a
Adjust build scripts for new AU frontend build output in /browser/
2020-12-22 07:09:45 +09:00