Skip to content

Commit

Permalink
chore: review clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
brady.ouren committed Oct 15, 2024
1 parent 455bb36 commit 972f395
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 19 deletions.
5 changes: 2 additions & 3 deletions docker/devnet/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
FROM --platform=$BUILDPLATFORM rust:1.68-alpine as clarinet-builder
FROM --platform=$BUILDPLATFORM rust:alpine as clarinet-builder

ARG CLARINET_VERSION=v2.8.0
WORKDIR /usr/src/

RUN apk add --no-cache \
Expand All @@ -12,7 +11,7 @@ RUN apk add --no-cache \
# Build Clarinet from source
RUN git clone https://github.com/hirosystems/clarinet.git && \
cd clarinet && \
git checkout 1717a4e && \
git checkout main && \
cargo build --release

FROM --platform=$BUILDPLATFORM docker:dind
Expand Down
5 changes: 2 additions & 3 deletions docker/devnet/Dockerfile.clarinet-builder
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Dockerfile.clarinet-builder

FROM --platform=$BUILDPLATFORM rust:1.68-alpine as builder
FROM --platform=$BUILDPLATFORM rust:alpine as builder

ARG CLARINET_VERSION=v2.8.0
WORKDIR /usr/src/

RUN apk add --no-cache \
Expand All @@ -14,7 +13,7 @@ RUN apk add --no-cache \
# Build Clarinet from source
RUN git clone https://github.com/hirosystems/clarinet.git && \
cd clarinet && \
git checkout 1bdc272 && \
git checkout main && \
cargo build --release

# This image produces the built Clarinet binary
7 changes: 0 additions & 7 deletions docker/devnet/Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion docker/devnet/deployments/default.devnet-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ id: 0
name: Devnet deployment
network: devnet
stacks-node: "http://localhost:20443"
bitcoin-node: "http://devnet:devnet@localhost:18453"
bitcoin-node: "http://devnet:devnet@localhost:18443"
plan:
batches: []
3 changes: 0 additions & 3 deletions docker/devnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ services:
context: .
# platform: ${BUILDPLATFORM:-linux/amd64}
ports:
- "3700:3700"
- "20443:20443"
- '20444:20444'
- "18443:18443"
Expand All @@ -27,8 +26,6 @@ services:
- ../stacks-blockchain/:/app/config
- ../stacks-blockchain/.chaindata:/tmp/stacks-blockchain-data
environment:
- CLARINET_VERSION=v2.8.0
- STACKS_EVENT_OBSERVER=host.docker.internal:3700
- PG_DATABASE=stacks_api
extra_hosts:
- 'host.docker.internal:host-gateway' # fixes `host.docker.internal` on linux hosts
Expand Down
4 changes: 2 additions & 2 deletions docker/devnet/settings/Devnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ disable_postgres = false
# disable_subnet_api = false
disable_bitcoin_explorer = true
# working_dir = "tmp/devnet"
stacks_node_events_observers = ["host.docker.internal:3700"]
# stacks_node_events_observers = ["host.docker.internal:3700"]
# miner_mnemonic = "fragile loan twenty basic net assault jazz absorb diet talk art shock innocent float punch travel gadget embrace caught blossom hockey surround initial reduce"
# miner_derivation_path = "m/44'/5757'/0'/0/0"
# faucet_mnemonic = "shadow private easily thought say logic fault paddle word top book during ignore notable orange flight clock image wealth health outside kitten belt reform"
Expand All @@ -94,7 +94,7 @@ bitcoin_node_password = "devnet"
stacks_node_rpc_port = 20443
# stacks_node_p2p_port = 20444
# stacks_api_port = 3999
stacks_api_events_port = 3700
# stacks_api_events_port = 3700
# bitcoin_explorer_port = 8001
# stacks_explorer_port = 8000
# postgres_port = 5432
Expand Down

0 comments on commit 972f395

Please sign in to comment.