Getting started with Argos Notary

All-in-one Docker Image

Prerequisites

  • docker

Activate

Start Argos Notary with the following command:

docker run -ti -p 80:80 -p 8080:8080 -p 8087:8087 \
--name argosnotary argosnotary/argosnotary:1.0.3

If you want to persist the mongodb data at first docker volumes should be created.

docker volume create data_db
docker volume create data_configdb

or with volumes

docker run -ti -p 80:80 -p 8080:8080 -p 8087:8087 \
-v data_db:/data/db -v data_configdb:/data/configdb \
--name argosnotary argosnotary/argosnotary:1.0.3

Argos Notary will be available here

The Swagger page for the argos-service REST api will be available here

caution

This image should not be used in a Production environment. It is meant for experimental use only!

Deploy on Kubernetes minikube with Helm chart

Prerequisites

Init

minikube start
# to get the ip address of the minikube host
export MINIKUBE_IP=$(minikube ip)

To resolve the host names used in the Helm charts add the following lines to the hosts file. The minikube ip is the ip addres from the pervious step:

<minikube ip> argosnotary.local
<minikube ip> oauthstub.local

Enable ingress on the cluster.

minikube addons enable ingress

You have to wait until ingress is fully up, running and ready. Check by:

kubectl get po -A

Activate

Add the argosnotary Helm repository

helm repo add argosnotary https://charts.argosnotary.com
helm repo update

Install Argos Notary

helm install argos argosnotary/argosnotary

Go to the Argos Dashboard with this link

caution

Minikube should not be used in a Production environment. It is meant for experimental use only!