mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
* cleaning up docker feat/cleanup needed it's own cleanup since it was so out of date. better to just start over with an up to date pull of develop * Update paths for docker-compose files * Updating paths and compose version * switch network to testnet * adjusting stacks-blockchain configs * use correct context to build api image * use the defaults from develop branch * feat: update to latest stacks blockchain * fix: rosetta output paths * chore: update stacks api to v0.71.2 Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com> * fix: remove magic_byte from mainnet toml Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com> * fix: update stacks node everywhere Co-authored-by: wileyj <2847772+wileyj@users.noreply.github.com> Co-authored-by: Charlie <2747302+CharlieC3@users.noreply.github.com>
25 lines
648 B
Docker
25 lines
648 B
Docker
FROM blockstack/stacks-blockchain:2.05.0.0.0-stretch as corenode
|
|
|
|
FROM gitpod/workspace-postgres
|
|
|
|
# Copy stacks-node binary
|
|
COPY --from=corenode /bin/stacks-node /bin/
|
|
|
|
## Stacks blockchain API env vars
|
|
ENV PG_HOST 127.0.0.1
|
|
ENV PG_PORT 5432
|
|
ENV PG_USER gitpod
|
|
ENV PG_PASSWORD postgres
|
|
ENV PG_DATABASE postgres
|
|
ENV STACKS_CORE_EVENT_PORT 3700
|
|
ENV STACKS_CORE_EVENT_HOST http://0.0.0.0
|
|
ENV STACKS_BLOCKCHAIN_API_PORT 3999
|
|
ENV STACKS_BLOCKCHAIN_API_HOST 0.0.0.0
|
|
ENV STACKS_BLOCKCHAIN_API_DB pg
|
|
ENV STACKS_CORE_RPC_HOST 127.0.0.1
|
|
ENV STACKS_CORE_RPC_PORT 20443
|
|
ENV NODE_ENV development
|
|
|
|
# Stacks-node env vars
|
|
ENV STACKS_EVENT_OBSERVER 127.0.0.1:3700
|