Skip to content

Latest commit

 

History

History

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

opentxs-notary docker deployment image

Usage

Building the image

docker image build --build-arg "OPENTXS_NOTARY_COMMIT=<tag or commit hash>" .

This image is available on Docker Hub as opentransactions/notary

To use a specific version of libopentxs add --build-arg "OPENTXS_VERSION=<desired tag>" where the desired tag is one of the versions listed for opentransactions/fedora. The default value is "latest".

Running the image

Persistent storage must be mounted at /srv/opentxs-notary inside the image and the --user argument to docker run should be set to match the ownership of this directory.

Example

docker run \
    --read-only \
    --mount type=bind,src=/srv/opentxs-notary,dst=/srv/opentxs-notary \
    --user 1000:1000 \
    -p 7085:7085/tcp \
    opentransactions/notary:latest \
    --notary_bind_ip=127.0.0.1 \
    --notary_bind_port=7085