diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 817f6c5b..c915cd1d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -48,7 +48,7 @@ jobs: run: | gcloud compute instance-templates create-with-container "zebrad-$BRANCH_NAME-$SHORT_SHA" \ --container-image "gcr.io/$PROJECT_ID/$REPOSITORY/$BRANCH_NAME:$SHORT_SHA" \ - --machine-type n1-standard-2 \ + --machine-type n1-highcpu-2 \ --service-account cos-vm@zealous-zebra.iam.gserviceaccount.com \ --scopes cloud-platform \ --tags zebrad \ diff --git a/Dockerfile b/Dockerfile index 843abf57..16cd3a05 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,5 +20,6 @@ RUN rustc -V; cargo -V; rustup -V; cargo test --all && cargo build --release FROM debian:buster-slim COPY --from=builder /zebra/target/release/zebrad / +RUN echo "[tracing]\nendpoint_addr = '0.0.0.0:3000'" > /zebrad.toml EXPOSE 3000 8233 18233 CMD [ "/zebrad", "start" ]