Last active
March 15, 2022 07:45
-
-
Save ubunteroz/00e11f4c16d222ac859fc86fa988577a to your computer and use it in GitHub Desktop.
Akash SDL for Deploying Avalanche Fuji Testnet Node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "2.0" | |
services: | |
avaxgo: | |
image: ghcr.io/ubunteroz/akash-avalanchego:fuji | |
expose: | |
- port: 9650 | |
as: 9650 | |
to: | |
- global: true | |
profiles: | |
compute: | |
avaxgo-profile: | |
resources: | |
cpu: | |
units: 2.0 | |
memory: | |
size: 4Gi | |
storage: | |
size: 128Gi | |
placement: | |
westcoast: | |
pricing: | |
avaxgo-profile: | |
denom: uakt | |
amount: 1000 | |
deployment: | |
avaxgo: | |
westcoast: | |
profile: avaxgo-profile | |
count: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bullseye AS base | |
RUN apt update && apt install wget tini -y && apt clean | |
FROM base AS download | |
ENV version=1.7.7 | |
WORKDIR /app | |
RUN wget https://github.com/ava-labs/avalanchego/releases/download/v${version}/avalanchego-linux-amd64-v${version}.tar.gz | |
RUN tar xvf avalanchego-linux-amd64-v${version}.tar.gz | |
RUN mv avalanchego-v${version} bin | |
FROM base | |
WORKDIR /app | |
COPY --from=download /app/bin/ ./bin/ | |
CMD ["tini", "--", "./bin/avalanchego", "--db-dir", "/app/db", "--http-host", "0.0.0.0"] | |
EXPOSE 9650 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment