PangZhi
c4529a7ef2
feat: merge protobufs and utils into core package ( #818 )
...
* remove protobufs as a package, merge into utils
* update yarn.lock
* rename utils package to core
* update docker
* add changeset
* tsup config
* change schema path in workflow file
* update protobufs readme link
2023-04-04 19:21:30 -07:00
adityapk00
766309052e
fix: Copy hub-nodejs dir into docker ( #813 )
2023-04-04 12:42:17 -07:00
Shane da Silva
ffe5bf68a4
Include package to enable Node.js runtime metrics collection ( #747 )
2023-03-24 01:15:40 -07:00
adityapk00
7a2beb5f12
fix: Remove peerIDs checked into config file ( #723 )
...
* fix: Remove peerIDs checked into config file
* Change dockerfile
2023-03-22 14:30:43 -07:00
adityapk00
f14bedab78
feat: p2p allowlist ( #595 )
2023-02-19 15:45:17 -08:00
Shane da Silva
36bf4a1845
fix: Docker build failing after package removal ( #517 )
...
A package removal in d21a8f2e caused the Docker build to start failing.
Removing this line seems to fix it.
2023-02-03 16:58:23 -08:00
Shane da Silva
8dbf92202f
chore: Reduce Docker image size using Alpine base ( #512 )
...
This requires a few additional packages to be manually installed, but
results in a smaller image (from ~530MB → ~465MB, over 12% reduction).
2023-02-03 09:44:50 -08:00
Shane da Silva
cf8a681fb3
fix: Set default network ID to mainnet ( #510 )
...
Make it a bit easier to get started by connecting to mainnet.
While here, shrink the size of our image further by squashing layers in
a final stage of the build. This gets us down from ~612MB to ~530MB.
2023-02-03 09:17:32 -08:00
Chu Ka-cheong
4d7d811560
chore: speed up Docker build ( #509 )
...
The Docker base image is changed from alpine to bullseye-slim. It allows
copying node_modules from build stage directly. The resulting image size
is also reduced because it doesn't need build tools for installing npm
packages.
2023-02-03 09:01:44 -08:00
Shane da Silva
eec6412303
Expose gossip protocol port outside of container by default ( #508 )
...
Binding to the loopback interface doesn't work when running within a
container.
2023-02-02 20:09:20 -08:00
Shane da Silva
0ea683980e
fix: Pin Turbo to 1.7.0 to fix Docker builds ( #506 )
...
Our previous attempts to fix the build in 50cfacd5 and 1c932091 didn't
work because we had a locally cached layer which lead to an older
version of Turbo being used, which didn't suffer from this bug.
The workaround (for now) is to pin to 1.7.0 explicitly when installing
`turbo` in the Docker build step (which previously wasn't using the
version listed in `package.json`).
2023-02-02 14:49:09 -08:00
Shane da Silva
50cfacd5ac
Fix Docker image builds post Hub→Hubble rename ( #503 )
2023-02-02 13:17:09 -08:00
Varun Srinivasan
ed7ef3ca0f
chore: rename hub to hubble ( #482 )
...
* chore: rename hub to hubble
* chore: rename files
2023-01-30 17:30:39 -05:00
Shane da Silva
316f395ea0
Add required --eth-rpc-url flag to Docker image default command ( #426 )
...
For ease of getting started, add this to the default flags.
2023-01-16 11:54:40 -08:00
Chu Ka-cheong
ab2624cc3d
fix: docker builds are broken ( #421 )
...
- Update Dockerfile according to monorepo structure
- Use `turbo prune` to optimize docker build
Fix farcasterxyz#347
2023-01-13 14:38:50 -08:00
Varun Srinivasan
c1771aec31
chore: debug deploy by increasing network timeout to 30 min ( #187 )
2022-10-28 16:47:27 -07:00
Varun Srinivasan
2c45cda49f
fix(dockerfile): execute the hub process with the right config options ( #183 )
2022-10-27 22:39:20 -07:00
Varun Srinivasan
9855a7249d
fix: Dockerfile ( #175 )
2022-10-14 17:08:33 -07:00
Varun Srinivasan
df30077cd8
fix: update dockerfile to specify rpc and p2p ports ( #174 )
...
* fix: add logging for successful events
* feat: update dockerfile to specify rpc and p2p ports
2022-10-14 16:30:10 -07:00
Varun Srinivasan
445f122370
chore: add eslint-plugin-security to linting to catch security issues ( #160 )
...
* chore: add eslint-plugin-security to linting to catch security issues
* chore: add NODE_ENV to dockerfile
2022-10-11 12:57:01 -07:00
Varun Srinivasan
a0c60dbe28
chore: add Dockerfile to build container ( #158 )
...
* chore: add Dockerfile to build container
* chore: use multi-step build process to reduce size by 500 MB
* chore: install production deps only to reduce size by ~ 200 MB
2022-10-11 10:33:22 -07:00
Cassandra Heart
b14aaeec33
feat: Add Dockerfile for containerized builds ( #93 )
2022-08-29 18:56:24 -04:00