Files
stacks-blockchain-api/.gitpod.Dockerfile
Nicholas Barnett f249ae70e7 build: update stacks-blockchain image (#1349)
* build: update stacks-blockchain image

* build: updated staacks blockchain image version in other places

Co-authored-by: Nick Barnett <nbarnett@hiro.so>
2022-10-13 12:38:41 -05:00

24 lines
608 B
Docker

FROM blockstack/stacks-blockchain:2.05.0.4.0 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_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