stacks-network / stacks-blockchain-docker

Stacks-blockchain with API using docker compose
GNU General Public License v3.0
27 stars 37 forks source link

Add Explorer as an option for all network options #61

Closed ceramicwhite closed 1 year ago

ceramicwhite commented 2 years ago

Add an explorer flag for all <network> options.

These env variables should be configure to their respective local:3999 : NEXT_PUBLIC_MAINNET_API_SERVER NEXT_PUBLIC_TESTNET_API_SERVER

If using the proxy flag, expose the explorer at a subdomain and potentially allow configuration throw a variable added to .env, such as: EXPLORER_SUBDOMAIN=explorer.${VIRTUAL_HOST} API_SUBDOMAIN=stacks-api.${VIRTUAL_HOST}

wileyj commented 2 years ago

This idea was pretty contentious in the past when it was part of the stack here.

I've been reworking how the flags work in https://github.com/stacks-network/stacks-blockchain-docker/tree/feat/option-parsing Once that work is done and merged, it might be easier to accomplish what you're suggesting without causing issues.

criadoperez commented 2 years ago

Could be interesting to add. Let me know if you need a hand doing so.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically closed. Please reopen if needed.