diff --git a/crates/iota-rosetta/README.md b/crates/iota-rosetta/README.md index 1f618ff682a..8ddb141212b 100644 --- a/crates/iota-rosetta/README.md +++ b/crates/iota-rosetta/README.md @@ -81,13 +81,13 @@ you can also start the individual server using docker run. To start the rosetta-online server, run ```shell -docker run iotaledger/iota-rosetta-devnet iota-rosetta start-online-server +docker run iotaledger/iota-rosetta-local iota-rosetta start-online-server ``` Alternatively, to start the rosetta-offline server, run ```shell -docker run iotaledger/iota-rosetta-devnet iota-rosetta start-offline-server +docker run iotaledger/iota-rosetta-local iota-rosetta start-offline-server ``` ## Supported APIs diff --git a/docker/deterministic-canary/Dockerfile b/docker/deterministic-canary/Dockerfile deleted file mode 100644 index 517f952272c..00000000000 --- a/docker/deterministic-canary/Dockerfile +++ /dev/null @@ -1,93 +0,0 @@ -ARG PROFILE=release -ARG BUILD_DATE -ARG GIT_REVISION -# ARG RUST_VERSION=1.76.0 - -FROM stagex/busybox:sx2024.04.2@sha256:8cb9360041cd17e8df33c5cbc6c223875045c0c249254367ed7e0eb445720757 AS busybox -FROM stagex/musl:sx2024.04.2@sha256:f888fcf45fabaaae3d0268bcec902ceb94edba7bf8d09ef6966ebb20e00b7127 AS musl -FROM stagex/rust:sx2024.04.2@sha256:e7882823078d49da4302578526dc35d6b2afad7507740c2f9bcd406a79befbc9 AS rust -FROM stagex/gcc:sx2024.04.2@sha256:c67989de74d82eddeaf0d458edb1ca35b88064d3a66d5631c3530d5f10975f5e AS gcc -FROM stagex/llvm:sx2024.04.2@sha256:ae430dbdd1a6d546bb8aef817d09d3fb4e0145f81c071647666b7a9f7b69f8a1 AS llvm -FROM stagex/libunwind:sx2024.04.2@sha256:622bbc0bcd502d349624fe90bd3cfc63595a71d450702d4e746abf8918351e2b AS libunwind -FROM stagex/openssl:sx2024.04.2@sha256:e719432f169a5ff606f52004a554e58780335f9635b1cf271d002ca7b1d1a206 AS openssl -FROM stagex/zlib:sx2024.04.2@sha256:d5b923b8f1b0382b8bdde96f36c0b8b9f694c97b14a9071bd96f2ffc46124e03 AS zlib -FROM stagex/ca-certificates:sx2024.04.2@sha256:f9fe6e67df91083fee3d88cf221f84ef77f0b67480fb5b0689e890509a712533 AS ca-certificates - -FROM stagex/binutils:sx2024.04.2@sha256:311f8c2bd2b586bf7210c40dde43d0e0d5e76af4e1e688ad129f945691e3e105 AS binutils -FROM stagex/make:sx2024.04.2@sha256:8357ff7a8afa260ae3cc8e8993d80bce524d9802b2033020f7ea7f8f85133634 AS make -FROM stagex/clang:sx2024.04.2@sha256:489d7f0b8694ecb4f21af80f4fee4908a4fabd92740af3648ee3715212da409e AS clang -FROM stagex/linux-headers:sx2024.04.2@sha256:fe366787ecaf36393b17ede6108161af4136bf5b7521e49f0a005a6ef68ef8db AS linux-headers - -FROM scratch AS base - -FROM base AS fetch - -COPY --from=busybox . / -COPY --from=musl . / -COPY --from=rust . / - -COPY --from=gcc . / -COPY --from=llvm . / -COPY --from=libunwind . / -COPY --from=openssl . / -COPY --from=zlib . / - -# NOTE: Necessary for `cargo fetch`, but CA trust is not relied upon -COPY --from=ca-certificates . / - -RUN cargo new canary - -WORKDIR canary - -RUN cargo fetch - -FROM fetch AS build - -# Rust build deps - -COPY --from=binutils . / -COPY --from=gcc . / -COPY --from=llvm . / -COPY --from=make . / -COPY --from=musl . / - -# IOTA build deps - -COPY --from=clang . / -COPY --from=linux-headers . / - -ARG PROFILE -ARG GIT_REVISION - -ENV RUST_BACKTRACE=1 -ENV RUSTFLAGS='-C target-feature=+crt-static -C codegen-units=1' -ENV GIT_REVISION=${GIT_REVISION} -ENV PROFILE=${PROFILE} - -RUN --network=none cargo build --target x86_64-unknown-linux-musl --frozen --profile ${PROFILE} - -FROM scratch AS install - -COPY --from=busybox . / - -COPY --from=busybox . /rootfs -COPY --from=libunwind . /rootfs -COPY --from=gcc . /rootfs -COPY --from=musl . /rootfs - -RUN mkdir -p /rootfs/usr/local/bin -COPY --from=build canary/target/x86_64-unknown-linux-musl/release/canary /rootfs/opt/iota/bin/canary - -RUN --network=none find /rootfs -exec touch -hcd "@0" "{}" + - -FROM scratch AS package - -ARG PROFILE -ARG GIT_REVISION - -LABEL build-date=${BUILD_DATE} -LABEL git-revision=${GIT_REVISION} - -COPY --from=install /rootfs / - -RUN ln -s /opt/iota/bin/canary /usr/local/bin/canary diff --git a/docker/deterministic-canary/build.sh b/docker/deterministic-canary/build.sh deleted file mode 100755 index 3cb530a660d..00000000000 --- a/docker/deterministic-canary/build.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# Copyright (c) Mysten Labs, Inc. -# Modifications Copyright (c) 2024 IOTA Stiftung -# SPDX-License-Identifier: Apache-2.0 - -# fast fail. -set -e - -DIR="$( cd "$( dirname "$0" )" && pwd )" -REPO_ROOT="$(git rev-parse --show-toplevel)" -OCI_OUTPUT="$REPO_ROOT/build/oci" -DOCKERFILE="$DIR/Dockerfile" -GIT_REVISION="$(git describe --always --abbrev=12 --dirty --exclude '*')" -BUILD_DATE="$(date -u +'%Y-%m-%d')" -PROFILE="release" -PLATFORM="linux/amd64" - -echo -echo "Building minimal deterministic repro" -echo "Dockerfile: \t$DOCKERFILE" -echo "docker context: $REPO_ROOT" -echo "build date: \t$BUILD_DATE" -echo "git revision: \t$GIT_REVISION" -echo "output directory: \t$OCI_OUTPUT" -echo - -export DOCKER_BUILDKIT=1 -export SOURCE_DATE_EPOCH=1 - -docker build -f "$DOCKERFILE" "$REPO_ROOT" \ - --build-arg PROFILE="$PROFILE" \ - --platform "$PLATFORM" \ - --output type=oci,rewrite-timestamp=true,force-compression=true,tar=false,dest=$OCI_OUTPUT/canary,name=canary \ - "$@" diff --git a/docker/iota-indexer-tidb/Dockerfile b/docker/iota-indexer-tidb/Dockerfile deleted file mode 100644 index bf2e18b9b35..00000000000 --- a/docker/iota-indexer-tidb/Dockerfile +++ /dev/null @@ -1,74 +0,0 @@ -# Build image (the specific rust version can also be passed, e.g. "1.82-bookworm") -ARG RUST_IMAGE_VERSION=bookworm -FROM rust:${RUST_IMAGE_VERSION} AS builder - -ARG PROFILE=release -ARG CARGO_BUILD_FEATURES -# The GIT_REVISION environment variable is used during build time inside the rust crates -ARG GIT_REVISION -ENV GIT_REVISION=$GIT_REVISION - -WORKDIR "/iota" - -# Install build dependencies, including clang and lld for faster linking -RUN apt update && apt install -y cmake clang lld - -# Configure Rust to use clang and lld as the linker -RUN mkdir -p ~/.cargo && \ - echo -e "[target.x86_64-unknown-linux-gnu]\nlinker = \"clang\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=lld\"]" > ~/.cargo/config.toml - -# Install additional dependencies -RUN apt install -y libpq5 libpq-dev ca-certificates - -# Copy in all crates, Cargo.toml, and Cargo.lock -COPY consensus consensus -COPY crates crates -COPY docs docs -COPY examples examples -COPY external-crates external-crates -COPY iota-execution iota-execution -COPY Cargo.toml Cargo.lock ./ - -RUN cargo build --profile ${PROFILE} --bin iota-indexer --features mysql-feature --no-default-features - -# Copy the built binary to the working directory depending on the output folder of the profile, -# so we can copy it to the runtime image -RUN if [ -d target/release ]; then \ - TARGET_DIR="target/release"; \ -elif [ -d target/debug ]; then \ - TARGET_DIR="target/debug"; \ -else \ - echo "Error: No build directory found"; \ - exit 1; \ -fi && \ -mv $TARGET_DIR/iota-indexer ./; - -# Production image -FROM debian:bookworm-slim AS runtime - -ARG WORKDIR="/iota" -WORKDIR "$WORKDIR" - -# Install runtime dependencies and tools -RUN apt update && apt install -y libpq5 ca-certificates curl - -# Install jemalloc as the default allocator used for memory profiling on supported -# architectures and create a symlink for the correct version based on the architecture -RUN ARCH=$(dpkg --print-architecture) && \ - if [ "$ARCH" = "amd64" ] || [ "$ARCH" = "arm64" ]; then \ - apt update && apt install -y libjemalloc-dev; \ - ln -sf $(ldconfig -p | grep jemalloc | awk '{print $4}' | sort -u | head -n 1) /usr/lib/libjemalloc.so; \ - else \ - echo "Unsupported architecture: $ARCH. Only amd64 and arm64 are supported."; \ - exit 1; \ -fi - -# Set LD_PRELOAD to the symlinked path -ENV LD_PRELOAD=/usr/lib/libjemalloc.so - -COPY --from=builder /iota/iota-indexer /usr/local/bin - -ARG BUILD_DATE -ARG GIT_REVISION -LABEL build-date=$BUILD_DATE -LABEL git-revision=$GIT_REVISION diff --git a/docker/iota-indexer-tidb/build.sh b/docker/iota-indexer-tidb/build.sh deleted file mode 100755 index 6181a041b52..00000000000 --- a/docker/iota-indexer-tidb/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Copyright (c) Mysten Labs, Inc. -# Modifications Copyright (c) 2024 IOTA Stiftung -# SPDX-License-Identifier: Apache-2.0 -./../utils/build-script.sh --container-name "iotaledger/iota-indexer-tidb" diff --git a/docker/iota-node-deterministic/Dockerfile b/docker/iota-node-deterministic/Dockerfile deleted file mode 100644 index 60ed6a8cc43..00000000000 --- a/docker/iota-node-deterministic/Dockerfile +++ /dev/null @@ -1,95 +0,0 @@ -ARG PROFILE=release -ARG BUILD_DATE -ARG GIT_REVISION -# ARG RUST_VERSION=1.76.0 - -FROM stagex/busybox:sx2024.04.2@sha256:8cb9360041cd17e8df33c5cbc6c223875045c0c249254367ed7e0eb445720757 AS busybox -FROM stagex/musl:sx2024.04.2@sha256:f888fcf45fabaaae3d0268bcec902ceb94edba7bf8d09ef6966ebb20e00b7127 AS musl -FROM stagex/rust:sx2024.04.2@sha256:e7882823078d49da4302578526dc35d6b2afad7507740c2f9bcd406a79befbc9 AS rust -FROM stagex/gcc:sx2024.04.2@sha256:c67989de74d82eddeaf0d458edb1ca35b88064d3a66d5631c3530d5f10975f5e AS gcc -FROM stagex/llvm:sx2024.04.2@sha256:ae430dbdd1a6d546bb8aef817d09d3fb4e0145f81c071647666b7a9f7b69f8a1 AS llvm -FROM stagex/libunwind:sx2024.04.2@sha256:622bbc0bcd502d349624fe90bd3cfc63595a71d450702d4e746abf8918351e2b AS libunwind -FROM stagex/openssl:sx2024.04.2@sha256:e719432f169a5ff606f52004a554e58780335f9635b1cf271d002ca7b1d1a206 AS openssl -FROM stagex/zlib:sx2024.04.2@sha256:d5b923b8f1b0382b8bdde96f36c0b8b9f694c97b14a9071bd96f2ffc46124e03 AS zlib -FROM stagex/ca-certificates:sx2024.04.2@sha256:f9fe6e67df91083fee3d88cf221f84ef77f0b67480fb5b0689e890509a712533 AS ca-certificates - -FROM stagex/binutils:sx2024.04.2@sha256:311f8c2bd2b586bf7210c40dde43d0e0d5e76af4e1e688ad129f945691e3e105 AS binutils -FROM stagex/make:sx2024.04.2@sha256:8357ff7a8afa260ae3cc8e8993d80bce524d9802b2033020f7ea7f8f85133634 AS make -FROM stagex/clang:sx2024.04.2@sha256:489d7f0b8694ecb4f21af80f4fee4908a4fabd92740af3648ee3715212da409e AS clang -FROM stagex/linux-headers:sx2024.04.2@sha256:fe366787ecaf36393b17ede6108161af4136bf5b7521e49f0a005a6ef68ef8db AS linux-headers - -FROM scratch AS base - -FROM base AS fetch - -COPY --from=busybox . / -COPY --from=musl . / -COPY --from=rust . / - -COPY --from=gcc . / -COPY --from=llvm . / -COPY --from=libunwind . / -COPY --from=openssl . / -COPY --from=zlib . / - -# NOTE: Necessary for `cargo fetch`, but CA trust is not relied upon -COPY --from=ca-certificates . / - -COPY . /iota - -WORKDIR "/iota" - -RUN cargo fetch - -FROM fetch AS build - -# Rust build deps - -COPY --from=binutils . / -COPY --from=gcc . / -COPY --from=llvm . / -COPY --from=make . / -COPY --from=musl . / - -# IOTA build deps - -COPY --from=clang . / -COPY --from=linux-headers . / - -ARG PROFILE -ARG GIT_REVISION - -ENV RUST_BACKTRACE=1 -ENV RUSTFLAGS='-C target-feature=+crt-static -C codegen-units=1' -ENV GIT_REVISION=${GIT_REVISION} -ENV PROFILE=${PROFILE} - -RUN --network=none cargo build --target x86_64-unknown-linux-musl --frozen --profile ${PROFILE} --bin iota-node - -FROM scratch AS install - -COPY --from=busybox . / - -COPY --from=busybox . /rootfs -COPY --from=libunwind . /rootfs -COPY --from=gcc . /rootfs -COPY --from=musl . /rootfs - -# support current + legacy paths -RUN mkdir -p /rootfs/opt/iota/bin -RUN mkdir -p /rootfs/usr/local/bin -COPY --from=build iota/target/x86_64-unknown-linux-musl/release/iota-node /rootfs/opt/iota/bin/iota-node - -RUN --network=none find /rootfs -exec touch -hcd "@0" "{}" + - -FROM scratch AS package - -ARG PROFILE -ARG GIT_REVISION - -LABEL build-date=${BUILD_DATE} -LABEL git-revision=${GIT_REVISION} - -COPY --from=install /rootfs / - -RUN ln -s /opt/iota/bin/iota-node /usr/local/bin/iota-node diff --git a/docker/iota-node-deterministic/README.md b/docker/iota-node-deterministic/README.md deleted file mode 100644 index 079cb42cef1..00000000000 --- a/docker/iota-node-deterministic/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# IOTA Node Deterministic Build - -## General Requirements - -- Requires Docker `>=v26.0.1` -- OCI-Compliant buildx `docker-container`: - - `docker buildx create --driver 'docker-container' --name stagex --use` - - `docker use --bootstrap stagex` - -## MacOS Requirements - -- ensure previous requirements, `Builders` should look like: - ![alt text](./images/image-2.png) - -- in `General`, Enable `containerd for pulling and storing images` - ![Docker Engine General Settings](./images/image.png) - -- disable Rosetta - ![alt text](./images/image-1.png) - -## Build Steps - -In Root Directory, run: `./docker/iota-node-deterministic/build.sh` - -Build artifact is output in: `build/oci/iota-node` - -Load the image with the command: `(cd build/oci/iota-node && tar -c .) | docker load` - -## Extract iota-node Binary - -### Find iota-node binary - -Find oci blob with iota-node binary (it is the largest blob in `build/oci/iota-node/blobs/sha256`) -`ls -lSh build/oci/iota-node/blobs/sha256` - -### Extract iota-node Binary - -Extract `iota-node` binary from blob: -`tar xf build/oci/iota-node/blobs/sha256/` - -### Get digest of iota-node. - -On Linux run: -`sha256sum opt/iota/bin/iota-node` - -On MacOS run: -`shasum -a 256 opt/iota/bin/iota-node` diff --git a/docker/iota-node-deterministic/build.sh b/docker/iota-node-deterministic/build.sh deleted file mode 100755 index b2c73690b0a..00000000000 --- a/docker/iota-node-deterministic/build.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# Copyright (c) Mysten Labs, Inc. -# Modifications Copyright (c) 2024 IOTA Stiftung -# SPDX-License-Identifier: Apache-2.0 - -# fast fail. -set -e - -DIR="$( cd "$( dirname "$0" )" && pwd )" -REPO_ROOT="$(git rev-parse --show-toplevel)" -OCI_OUTPUT="$REPO_ROOT/build/oci" -DOCKERFILE="$DIR/Dockerfile" -GIT_REVISION="$(git describe --always --abbrev=12 --dirty --exclude '*')" -BUILD_DATE="$(date -u +'%Y-%m-%d')" -PLATFORM="linux/amd64" - -# option to build using debug symbols -if [ "$1" = "--debug-symbols" ]; then - PROFILE="bench" - echo "Building with full debug info enabled ... WARNING: binary size might significantly increase" - shift -else - PROFILE="release" -fi - -echo -echo "Building iota-node docker image" -echo "Dockerfile: \t$DOCKERFILE" -echo "docker context: $REPO_ROOT" -echo "build date: \t$BUILD_DATE" -echo "git revision: \t$GIT_REVISION" -echo "output directory: \t$OCI_OUTPUT" -echo - -export DOCKER_BUILDKIT=1 -export SOURCE_DATE_EPOCH=1 - -docker build -f "$DOCKERFILE" "$REPO_ROOT" \ - --build-arg GIT_REVISION="$GIT_REVISION" \ - --build-arg BUILD_DATE="$BUILD_DATE" \ - --build-arg PROFILE="$PROFILE" \ - --platform "$PLATFORM" \ - --output type=oci,rewrite-timestamp=true,force-compression=true,tar=false,dest=$OCI_OUTPUT/iota-node,name=iota-node \ - "$@" diff --git a/docker/iota-node-deterministic/images/image-1.png b/docker/iota-node-deterministic/images/image-1.png deleted file mode 100644 index a6b03ba61a4..00000000000 Binary files a/docker/iota-node-deterministic/images/image-1.png and /dev/null differ diff --git a/docker/iota-node-deterministic/images/image-2.png b/docker/iota-node-deterministic/images/image-2.png deleted file mode 100644 index 014309ef3c1..00000000000 Binary files a/docker/iota-node-deterministic/images/image-2.png and /dev/null differ diff --git a/docker/iota-node-deterministic/images/image.png b/docker/iota-node-deterministic/images/image.png deleted file mode 100644 index 2d062e103e8..00000000000 Binary files a/docker/iota-node-deterministic/images/image.png and /dev/null differ diff --git a/docker/iota-rosetta-devnet/Dockerfile b/docker/iota-rosetta-devnet/Dockerfile deleted file mode 100644 index ff74ef77e5c..00000000000 --- a/docker/iota-rosetta-devnet/Dockerfile +++ /dev/null @@ -1,68 +0,0 @@ -# Build image (the specific rust version can also be passed, e.g. "1.82-bookworm") -ARG RUST_IMAGE_VERSION=bookworm -FROM rust:${RUST_IMAGE_VERSION} AS builder - -ARG PROFILE=release -ARG CARGO_BUILD_FEATURES -# The GIT_REVISION environment variable is used during build time inside the rust crates -ARG GIT_REVISION -ENV GIT_REVISION=$GIT_REVISION - -WORKDIR "/iota" - -# Install build dependencies, including clang and lld for faster linking -RUN apt update && apt install -y cmake clang lld git - -# Configure Rust to use clang and lld as the linker -RUN mkdir -p ~/.cargo && \ - echo -e "[target.x86_64-unknown-linux-gnu]\nlinker = \"clang\"\nrustflags = [\"-C\", \"link-arg=-fuse-ld=lld\"]" > ~/.cargo/config.toml - -# Install additional dependencies -RUN apt install -y libpq5 libpq-dev ca-certificates - -# Clone the repository and checkout the devnet branch -RUN git clone https://github.com/iotaledger/iota . -RUN git checkout devnet - -RUN cargo build --profile ${PROFILE} \ - --bin iota \ - --bin iota-rosetta \ - --features ${CARGO_BUILD_FEATURES:=default} - -# Copy the built binary to the working directory depending on the output folder of the profile, -# so we can copy it to the runtime image -RUN if [ -d target/release ]; then \ - TARGET_DIR="target/release"; \ -elif [ -d target/debug ]; then \ - TARGET_DIR="target/debug"; \ -else \ - echo "Error: No build directory found"; \ - exit 1; \ -fi && \ -mv $TARGET_DIR/iota ./ && \ -mv $TARGET_DIR/iota-rosetta ./; - -# Production image -FROM debian:bookworm-slim AS runtime - -ARG WORKDIR="/iota" -WORKDIR "$WORKDIR" - -# Install runtime dependencies and tools -RUN apt update && apt install -y libpq5 ca-certificates curl - -# Install rosetta-cli -RUN curl -sSfL https://raw.githubusercontent.com/coinbase/rosetta-cli/master/scripts/install.sh | sh -s - -# Download the genesis file and create the genesis state -RUN mkdir -p devnet && curl -fL -o devnet/genesis.blob https://github.com/iotaledger/iota-genesis/raw/main/devnet/genesis.blob - -COPY --from=builder /iota/iota /usr/local/bin -COPY --from=builder /iota/iota-rosetta /usr/local/bin -COPY --from=builder /iota/crates/iota-config/data/fullnode-template.yaml /iota/devnet/fullnode.yaml -RUN /usr/local/bin/iota genesis - -ARG BUILD_DATE -ARG GIT_REVISION -LABEL build-date=$BUILD_DATE -LABEL git-revision=$GIT_REVISION diff --git a/docker/iota-rosetta-devnet/build.sh b/docker/iota-rosetta-devnet/build.sh deleted file mode 100755 index 2bbe14ee607..00000000000 --- a/docker/iota-rosetta-devnet/build.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Copyright (c) Mysten Labs, Inc. -# Modifications Copyright (c) 2024 IOTA Stiftung -# SPDX-License-Identifier: Apache-2.0 -./../../docker/utils/build-script.sh --container-name "iotaledger/iota-rosetta-devnet" diff --git a/docker/iota-rosetta-devnet/docker-compose.yaml b/docker/iota-rosetta-devnet/docker-compose.yaml deleted file mode 100644 index a6d76691546..00000000000 --- a/docker/iota-rosetta-devnet/docker-compose.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -version: "3.9" -services: - rosetta-online: - image: iotaledger/iota-rosetta-devnet - ports: - - "9002:9002" - expose: - - "9002" - volumes: - - data:/data:rw - working_dir: /iota/devnet - command: - - /bin/bash - - -c - - | - /usr/local/bin/iota-rosetta generate-rosetta-cli-config --env devnet & - /usr/local/bin/iota-rosetta start-online-server --env devnet --node-config fullnode.yaml - stdin_open: true - tty: true - rosetta-offline: - image: iotaledger/iota-rosetta-devnet - ports: - - "9003:9003" - expose: - - "9003" - working_dir: /iota/devnet - command: - - /bin/bash - - -c - - | - /usr/local/bin/iota-rosetta start-offline-server --env devnet - stdin_open: true - tty: true -volumes: - data: diff --git a/docker/iota-rosetta-devnet/remote/docker-compose.yaml b/docker/iota-rosetta-devnet/remote/docker-compose.yaml deleted file mode 100644 index 37916a901e2..00000000000 --- a/docker/iota-rosetta-devnet/remote/docker-compose.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -version: "3.9" -services: - rosetta-online: - image: iotaledger/iota-rosetta-devnet - ports: - - "9002:9002" - expose: - - "9002" - working_dir: /iota/devnet - command: - - /bin/bash - - -c - - | - /usr/local/bin/iota-rosetta generate-rosetta-cli-config --env devnet & - /usr/local/bin/iota-rosetta start-online-remote-server --env devnet --genesis-path genesis.blob --full-node-url https://api.devnet.iota.cafe:443 - stdin_open: true - tty: true - rosetta-offline: - image: iotaledger/iota-rosetta-devnet - ports: - - "9003:9003" - expose: - - "9003" - working_dir: /iota/devnet - command: - - /bin/bash - - -c - - | - /usr/local/bin/iota-rosetta start-offline-server --env devnet - stdin_open: true - tty: true