Comments (11)
You are correct, SimplePolicy is mandatory. I've incorporated it on neo-local long ago.
from neo.
Sure, I can make this.
What you want is a relay node, not a consensus node, right?
I can make the Dockerfile that you can use to build it. Or we can manage to have a docker hub for NEO also, but for that i need official help.
from neo.
I think that if you can provide us with a working Dockerfile, one that copies that configuration from the current project and compiles it, it would be great.
Not sure how to handle the "--rpc" flag, but I'm sure this is easy for you :)
Do you think we need to use an intermediary image to build and another to host it? Maybe it makes more sense from a security perspective.
So basically, we need:
- Compile it from source
- Copy configuration files (config / protocol.json) - probably done when you copy the source files
- Start it with or without the RPC flag
from neo.
Yes, I can provide a dockerfile that does that. Including getting the newest code from github, compile it and produce a docker image that we can use to start the node.
That image, because it's not consensus, can be then put inside a swarm or kubernetes cluster to be an highly available service.
from neo.
Like you mentioned in slack, there is already a Dockerfile:
https://github.com/neo-project/neo-cli/tree/master/ci
It does 50% of the work, however:
- it always starts with RPC
- it compiles and runs in the same image
from neo.
I think we can start with the Dockerfile we have in the repo and correct/extend it.
Let me work on it...
from neo.
@nunojusto if possible, please check if it is importing plugins, this is quite important too.
https://github.com/neo-project/neo-plugins
from neo.
@nunojusto if possible, please check if it is importing plugins, this is quite important too.
https://github.com/neo-project/neo-plugins
No plugins are used in the actual Dockerfile
from neo.
I'm not sure (I'll leave that to the specialists), but I think that "SimplePolicy" is a mandatory plugin, "RpcSecurity" and "ApplicationLogs" are highly recommended.
from neo.
@neo-project/ngd any chances you guys can help move this forward? I think this will help a lot of people, just look how many "ubuntu" or other "compilation issues" we have in our closed issues. This would "solve" them all.
Thanks.
from neo.
@neo-project/ngd any chances you guys can help move this forward?
I think this is a great idea. We definitely can help to provide it.
from neo.
Related Issues (20)
- Fix `NeoSystem` Dispose HOT 2
- Implement Rollback Mechanism for Neo Node to Sync Plugin Information HOT 13
- Fix coverall problem introduced recently HOT 1
- Error building Neo.CLI HOT 1
- Create Tests with CI / ACTION to ensure local build is working HOT 4
- [V3.7.5 Checklist] This is a checklist for version 3.7.5 hotfix HOT 9
- Fix RPC responses for Hash160 types HOT 7
- How to handle [possible] negative VM refcounter HOT 1
- [Neo Core Event] Define Interfaces for Core Event Handlers
- Comments for Tarjan class HOT 2
- Quality of life CLI options --config-file & --ignore-plugin-network HOT 4
- Add Unit Tests for RpcServer Plugin
- dotnet publish doesn't work in plugin's project path HOT 4
- Wrong debug/release path of plugins HOT 3
- RpcServer Unit Tests: Node
- Leveldb crash HOT 13
- version error 1.0.0 HOT 1
- Allow list of AnomalyTransaction types vs Explicit Hardfork HOT 1
- Should native contracts be destroyable? HOT 2
- Work on a DEV branch.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo.