Files
stacks-blockchain-api/.gitpod.Dockerfile
Rafael Cárdenas 216b9ab715 feat: docker cleanup
* 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>
2021-12-01 17:03:21 -06:00

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