Sign inSign up

nullptrderef/anastasis

By nullptrderef

Updated over 2 years ago

A ‘keep-your-own-key’ custody solution with passwordless key recovery via multi-party auth.

Image
Networking
Security
Databases & storage
0

1.7K

nullptrderef/anastasis repository overview

nullptrderef/anastasis

An Anastasis Image

Tags

Usage

The Image exposes a /etc/anastasis volume, which contains the anastasis configuration. By default, Anastasis listens on port 9977 in the container, however this behaviour can natuarlly be changed.

Docker CLI

An example usage via the docker CLI may look like:

docker run -d -v './anastasis-config:/etc/anastasis' -p '127.0.0.1:9977:9977' nullptrderef/anastasis:latest

Docker Compose
services:
  database:
    container_name: anastasis-db
    image: postgres:alpine
    hostname: database
    ports:
      - 127.0.0.1:15432:5432
    networks:
      anastasis-pg-net:
        ipv4_address: 172.168.111.10
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_USERNAME=postgres
      - POSTGRES_PASSWORD=password
      - PGDATA=/var/lib/postgresql/data/
    volumes:
      - ./anastasis-data/:/var/lib/postgresql/data/:rw

  anastasis:
    container_name: anastasis
    image: nullptrderef/anastasis:latest
    depends_on:
      - database
    networks:
      - anastasis-pg-net
    ports:
      - 127.0.0.1:9977:9977
    volumes:
      - ./anastasis-config:/etc/anastasis
    command: sh -c "while true; do sleep 1; done"

networks:
  anastasis-pg-net:
    driver: bridge
    ipam:
      driver: default
      config:
        - subnet: "172.168.111.0/24"

(Change the password ofc)

First Execution

Upon first execution, it will exit before getting anywhere, as you'll need to edit the configuation to specify the correct postgres URL.

The config file is created on this first execution.

Source

This image was packaged from deployment.git:packaging/docker-alpine. It is licensed under the AGPL-3.0-OR-LATER

Tag summary

Content type

Image

Digest

sha256:cae177ec0

Size

23.1 MB

Last updated

over 2 years ago

docker pull nullptrderef/anastasis