Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Code of Conduct Guidelines
==========================

Please review the Hyperledger [Code of
Conduct](https://wiki.hyperledger.org/community/hyperledger-project-code-of-conduct)
before participating. It is important that we keep things civil.
# Hyperledger Code of Conduct
Hyperledger Indy requires adherence to the [LF Distributed Trust Code of Conduct](https://lf-hyperledger.atlassian.net/wiki/spaces/HYP/pages/19595281/Hyperledger+Code+of+Conduct). All Working Group contributors and meeting attendees are asked
to review and follow the code of conduct.
![Hyperledger Code of Conduct, Everyone is Welcome](https://wiki.hyperledger.org/download/attachments/2392771/welcome.png?version=2&modificationDate=1572450107000&api=v2)
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ avoid frustration later on.
## Contribution Guideline

* We use the GitHub [issue
tracker](https://github.com/IDunion/indy-node-container/issues).
tracker](https://github.com/hyperledger-indy/indy-node-container/issues).

* When you want to submit a patch, you must [sign your
commits](#sign-your-work).
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Indy Node Container

[![Building All Containers](https://github.com/hyperledger/indy-node-container/actions/workflows/build-all.yml/badge.svg)](https://github.com/hyperledger/indy-node-container/actions/workflows/build-all.yml)
[![Building All Containers](https://github.com/hyperledger-indy/indy-node-container/actions/workflows/build-all.yml/badge.svg)](https://github.com/hyperledger-indy/indy-node-container/actions/workflows/build-all.yml)

This repository aims to provide easy-to-use containers with minimal dependencies to run instances of [Hyperledger Indy Node](https://github.com/hyperledger/indy-node). The primary goal is to support stewards joining an existing Network, but of course the containers can also be used in a stand alone (local/test/...) network. The initial contributions stem from the Container Working Group of [ID Union](https://github.com/IDunion). The repository was contributed to Hyperledger in 2022-02.
This repository aims to provide easy-to-use containers with minimal dependencies to run instances of [Hyperledger Indy Node](https://github.com/hyperledger-indy/indy-node). The primary goal is to support stewards joining an existing Network, but of course the containers can also be used in a stand alone (local/test/...) network. The initial contributions stem from the Container Working Group of [ID Union](https://github.com/IDunion). The repository was contributed to Hyperledger in 2022-02.

Primary artifact are the container images for

- [Indy Node](https://github.com/hyperledger/indy-node-container/pkgs/container/indy-node-container%2Findy_node)
- and the [Indy Node Controller](https://github.com/hyperledger/indy-node-container/pkgs/container/indy-node-container%2Findy_node_controller)
- [Indy Node](https://github.com/hyperledger-indy/indy-node-container/pkgs/container/indy-node-container%2Findy_node)
- and the [Indy Node Controller](https://github.com/hyperledger-indy/indy-node-container/pkgs/container/indy-node-container%2Findy_node_controller)
which are build from the files in [the build folder](build/).

We also provide a few [utility scripts, including a docker-compose file](run/) to help setting up a run time environment for the containers.
Expand All @@ -17,7 +17,7 @@ See [here](run/) for instructions how to setup and run the indy node images from

We are providing indy node images tagged like`${INDY_NODE_VERSION}-${OS}-${CONTAINER_RELEASE_VERSION}`. E.g. `1.13.2-debian11-1.2.7` is a Debian 11 based image with indy-node version `1.13.2`.

- [See here](https://github.com/hyperledger/indy-node-container/pkgs/container/indy-node-container%2Findy_node/versions?filters%5Bversion_type%5D=tagged) for all tagged versions
- [See here](https://github.com/hyperledger-indy/indy-node-container/pkgs/container/indy-node-container%2Findy_node/versions?filters%5Bversion_type%5D=tagged) for all tagged versions

We have stopped providing older indy-node versions, new releases are only build for indy 1.13.2. We currently build from the base images

Expand Down Expand Up @@ -47,7 +47,7 @@ make ubuntu20
make clean
```

Please note that `make` generates different tags than the Github action (see [packages](https://github.com/hyperledger/indy-node-container/pkgs/container/indy-node-container%2Findy_node) vs. [Makefile](./Makefile)).
Please note that `make` generates different tags than the Github action (see [packages](https://github.com/hyperledger-indy/indy-node-container/pkgs/container/indy-node-container%2Findy_node) vs. [Makefile](./Makefile)).

If you have [trivy](https://aquasecurity.github.io/trivy) installed, you can use the make check_* targets to run a trivy check against the local images:

Expand Down
8 changes: 4 additions & 4 deletions build/Dockerfile.debian11
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This container is to run indy-node.
# This file is part of https://github.com/hyperledger/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger/indy-node-container/blob/main/LICENSE for the license information.
# This file is part of https://github.com/hyperledger-indy/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger-indy/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger-indy/indy-node-container/blob/main/LICENSE for the license information.

FROM python:3.8-slim-bullseye

LABEL org.opencontainers.image.description="Debian 11 based image to run indy-node. See https://github.com/hyperledger/indy-node-container"
LABEL org.opencontainers.image.description="Debian 11 based image to run indy-node. See https://github.com/hyperledger-indy/indy-node-container"

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
8 changes: 4 additions & 4 deletions build/Dockerfile.debian12
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This container is to run indy-node.
# This file is part of https://github.com/hyperledger/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger/indy-node-container/blob/main/LICENSE for the license information.
# This file is part of https://github.com/hyperledger-indy/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger-indy/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger-indy/indy-node-container/blob/main/LICENSE for the license information.

FROM python:3.8-slim-bookworm

LABEL org.opencontainers.image.description="Debian 12 based image to run indy-node. See https://github.com/hyperledger/indy-node-container"
LABEL org.opencontainers.image.description="Debian 12 based image to run indy-node. See https://github.com/hyperledger-indy/indy-node-container"

ENV DEBIAN_FRONTEND=noninteractive

Expand Down
8 changes: 4 additions & 4 deletions build/Dockerfile.ubuntu20
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This container is to run indy-node.
# This file is part of https://github.com/hyperledger/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger/indy-node-container/blob/main/LICENSE for the license information.
# This file is part of https://github.com/hyperledger-indy/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger-indy/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger-indy/indy-node-container/blob/main/LICENSE for the license information.


FROM ubuntu:20.04

LABEL org.opencontainers.image.description="Ubuntu 20.04 based image to run indy-node. See https://github.com/hyperledger/indy-node-container"
LABEL org.opencontainers.image.description="Ubuntu 20.04 based image to run indy-node. See https://github.com/hyperledger-indy/indy-node-container"

RUN apt-get update -y \
&& apt-get upgrade -y \
Expand Down
16 changes: 8 additions & 8 deletions build/Dockerfile.ubuntu22
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This container is to run indy-node.
# This file is part of https://github.com/hyperledger/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger/indy-node-container/blob/main/LICENSE for the license information.
# This file is part of https://github.com/hyperledger-indy/indy-node-container .
# Copyright 2021-2025 by all people listed in https://github.com/hyperledger-indy/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger-indy/indy-node-container/blob/main/LICENSE for the license information.


FROM ubuntu:22.04

LABEL org.opencontainers.image.description="Ubuntu 22.04 based image to run indy-node. See https://github.com/hyperledger/indy-node-container"
LABEL org.opencontainers.image.description="Ubuntu 22.04 based image to run indy-node. See https://github.com/hyperledger-indy/indy-node-container"

ARG PRESEED_TIMEZONE_AREA "tzdata tzdata/Areas select Europe"
ARG PRESEED_TIMEZONE "tzdata tzdata/Zones/Europe select Berlin"
Expand Down Expand Up @@ -66,10 +66,10 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9692C00E65

# official indy node + plenum release packages from github
RUN cd /tmp/\
&& for URL in https://github.com/hyperledger/indy-plenum/releases/download/v1.13.1/third-party-dependencies.zip \
https://github.com/hyperledger/indy-plenum/releases/download/v1.13.1/plenum-deb.zip \
https://github.com/hyperledger/indy-node/releases/download/v1.13.2/third-party-dependencies.zip \
https://github.com/hyperledger/indy-node/releases/download/v1.13.2/indy_node-deb.zip \
&& for URL in https://github.com/hyperledger-indy/indy-plenum/releases/download/v1.13.1/third-party-dependencies.zip \
https://github.com/hyperledger-indy/indy-plenum/releases/download/v1.13.1/plenum-deb.zip \
https://github.com/hyperledger-indy/indy-node/releases/download/v1.13.2/third-party-dependencies.zip \
https://github.com/hyperledger-indy/indy-node/releases/download/v1.13.2/indy_node-deb.zip \
; do \
echo "downloading $URL" \
&& wget -nv $URL \
Expand Down
6 changes: 3 additions & 3 deletions build/init_and_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# This script provides idempotent initialization and finally runs the indy node inside the docker container

# This file is part of https://github.com/hyperledger/indy-node-container .
# Copyright 2021-2022 by all people listed in https://github.com/hyperledger/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger/indy-node-container/blob/main/LICENSE for the license information.
# This file is part of https://github.com/hyperledger-indy/indy-node-container .
# Copyright 2021-2022 by all people listed in https://github.com/hyperledger-indy/indy-node-container/blob/main/NOTICE , see
# https://github.com/hyperledger-indy/indy-node-container/blob/main/LICENSE for the license information.

set -e

Expand Down
4 changes: 2 additions & 2 deletions run/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ INDY_NETWORK_NAME=ssi4de
INDY_NODE_NAME=GS1Germany

# Choose one of the avaiable images
IMAGE=ghcr.io/hyperledger/indy-node-container/indy_node:latest-ubuntu20
IMAGE=ghcr.io/hyperledger-indy/indy-node-container/indy_node:latest-ubuntu20

# You likely want to keep these default values:
SOCK=/var/run/docker.sock
NODE_CONTAINER_NAME=indy_node
CONTROLLER_CONTAINER_NAME=indy_node_controller
IMAGE_NAME_CONTROLLER=ghcr.io/hyperledger/indy-node-container/indy_node_controller:latest
IMAGE_NAME_CONTROLLER=ghcr.io/hyperledger-indy/indy-node-container/indy_node_controller:latest

INDY_NODE_IP=0.0.0.0
INDY_NODE_PORT=9701
Expand Down
4 changes: 2 additions & 2 deletions run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This is a brief step by step guide for what to do if you want to add a container
Just clone the whole repository and generate a seed

```
git clone https://github.com/hyperledger/indy-node-container.git
git clone https://github.com/hyperledger-indy/indy-node-container.git
cd indy-node-container/run/
./generate_random_seeds.sh
```
Expand All @@ -22,7 +22,7 @@ and then securely backup `.node.env` which holds the seed for generating the pri

Change the network name in `etc_indy/indy_config.py` to `NETWORK_NAME = 'YOUR_NETWORK_NAME'` and in `.env` to `INDY_NETWORK_NAME=YOUR_NETWORK_NAME`. In the latter, also set the `INDY_NODE_NAME` to your nodes alias.

You may choose [an image](https://github.com/hyperledger/indy-node-container/pkgs/container/indy-node-container%2Findy_node/versions) to use or stick with the default.
You may choose [an image](https://github.com/hyperledger-indy/indy-node-container/pkgs/container/indy-node-container%2Findy_node/versions) to use or stick with the default.
- **Caution**: The ubunut20 image is a test image to test the new release candidate of indy node. All other images are stable.


Expand Down
4 changes: 2 additions & 2 deletions run/add_ddos_protection_iptables_rule.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

# Original author: Wade Barnes https://gist.github.com/WadeBarnes/
# See https://github.com/hyperledger/indy-node/blob/main/scripts/setup_iptables
# Modifications for https://github.com/hyperledger/indy-node-container : Sebastian Schmittner https://github.com/Echsecutor
# See https://github.com/hyperledger-indy/indy-node/blob/main/scripts/setup_iptables
# Modifications for https://github.com/hyperledger-indy/indy-node-container : Sebastian Schmittner https://github.com/Echsecutor

usage() {
cat <<-EOF
Expand Down
6 changes: 3 additions & 3 deletions test/.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
INDY_NETWORK_NAME=idunion_local_test
IMAGE_NAME_NODE=ghcr.io/hyperledger/indy-node-container/indy_node:latest-bookworm
IMAGE_NAME_CONTROLLER=ghcr.io/hyperledger/indy-node-container/indy_node_controller
REFERENCE_IMAGE_NAME_NODE=ghcr.io/hyperledger/indy-node-container/indy_node:latest-ubuntu20
IMAGE_NAME_NODE=ghcr.io/hyperledger-indy/indy-node-container/indy_node:latest-bookworm
IMAGE_NAME_CONTROLLER=ghcr.io/hyperledger-indy/indy-node-container/indy_node_controller
REFERENCE_IMAGE_NAME_NODE=ghcr.io/hyperledger-indy/indy-node-container/indy_node:latest-ubuntu20

INDY_NODE_IP_1=0.0.0.0
INDY_NODE_PORT_1=9701
Expand Down
2 changes: 1 addition & 1 deletion test/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ services:
- LEDGER_INSTANCE_NAME=Local Test Ledger
- WEB_ANALYTICS_SCRIPT=
- INFO_SITE_TEXT=Node Container @ GitHub
- INFO_SITE_URL=https://github.com/hyperledger/indy-node-container
- INFO_SITE_URL=https://github.com/hyperledger-indy/indy-node-container
- LEDGER_SEED=000000000000000000000000Steward1
networks:
indy_node_container_test_network:
Expand Down
2 changes: 1 addition & 1 deletion test/init-test-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ NODES=${NODES:-4}
source .env

if [ -z ${1+x} ]; then
IMAGE_NAME_NODE=ghcr.io/hyperledger/indy-node-container/indy_node:latest-bookworm
IMAGE_NAME_NODE=ghcr.io/hyperledger-indy/indy-node-container/indy_node:latest-bookworm
else
IMAGE_NAME_NODE=$1
fi
Expand Down
Loading