Repository navigation
Dockerfile build issues - #314
Closed
tomasvanagas wants to merge 5 commits into
Closed
tomasvanagas wants to merge 5 commits into
tomasvanagas wants to merge 5 commits into
Conversation
Author
|
After tinkering little bit more I noticed that it still was not building properly from source code. So I made a complete rewrite of the Dockerfile as well removing multi-stage building process so the build process would be simplified as much as possible. For the context here is my docker-compose.yml in which I am tinkering with my forked chain: knfcoin-electrumx:
container_name: knfcoin-electrumx
image: knfcoin-electrumx
build:
context: ./knfcoin-electrumx
dockerfile: ./contrib/Dockerfile
ports:
- "49002:49002"
volumes:
- ./DATA/electrumx:/data
environment:
- COIN=KNFcoin
- NET=mainnet
- DAEMON_URL=http://user:pass@knfcoin-fullnode:19332
# Cache tuning
- CACHE_MB=2000 # 2GB RAM
# Unlimited-ish sessions
- MAX_SESSIONS=1000000
- SESSION_TIMEOUT=600
- MAX_RECV=10000000
- MAX_SEND=10000000
- COST_SOFT_LIMIT=0
- COST_HARD_LIMIT=0
- REQUEST_SLEEP=0
- INITIAL_CONCURRENT=1000000
- BANDWIDTH_UNIT_COST=1000000000
- REQUEST_TIMEOUT=30
restart: unless-stopped |
SomberNight
reviewed
Oct 21, 2025
|
|
||
|
|
||
|
|
||
| class KNFcoin(Coin): |
Member
There was a problem hiding this comment.
Could you please keep this PR focused on the dockerfile improvements?
I see you opened the PR with your master branch as base branch. You might need to create a separate branch for this. (which is best practice btw)
Author
|
Upsie, my bad. Ok, I will create a separate pull request a little bit later |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
Dockerfile did not built, I've added a fix to make Dockerfile build
Best,
Tomas