This image will install dependencies and tate-server from mazaclub sources
Super-Quick Ubuntu Startup Instructions
This image uses mazaclub/mazacoind-base as a base image, which is based on phusion/baseimage - this image uses /sbin/my_init as the ENTRYPOINT
/etc/service/tate-server/run and restart if it crashes/app/start.sh will will construct
/etc/tate.conf from environment variables.A simple start script is provided in the github source repo as an example.
This image expects to find your mazacoind blockdata and mazacoin.conf in
/home/maza/.mazacoin
and be owned by UID:GID 2211:2211 (maza:maza)
/home/maza/var/tate-server -v /full/host/path:/home/maza--link mazacoind_container:mazacoind will expose mazacoind as host "mazacoind"-v /some/path/to/certs:/app/certstate.pem and tate.keyThe startup script for tate-server provided will acquire the values needed to configure tate.conf from environment variables
These can be easily set in your docker run statement:
docker run -d \
-h your.fq.dn" \
--name=${NAME} \
--restart=always \
-p 50002:50002 \
-p 8000:8000 \
-p 50001:50001 \
-p 12835:12835 \
-e USER=maza \
-e HOSTNAME=your.external.fqdn \
-v ${HOST_DATA_PREFIX}/certs:/app/certs \
-v ${HOST_DATA_PREFIX}/mazacoind:${MAZADIR} \
-v ${HOST_DATA_PREFIX}/tate-data:${DATA_VOLDIR} \
mazaclub/tateserver-mazacoind
The following variables can be set with additional "-e VAR=value " lines in the docker run statement.
Defaults are provided.
USER=${USER:-maza}
TATE_HOSTNAME=${TATE_HOSTNAME:-${HOSTNAME}}
TATE_PORT=${TATE_PORT:-50001}
TATE_SSLPORT=${TATE_SSL_PORT:-50002}
MAZACOIND=${MAZACOIND:-mazacoind}
MAZADIR=${MAZADIR:-/home/${USER}/.mazacoin}
RPCPORT=${RPCPORT:-12832}
RPCUSER=${RPCUSER:-$(grep rpcuser ${MAZADIR}/mazacoin.conf |awk -F= '{print $2}')}
RPCPASSWORD=${RPCPASSWORD:-$(grep rpcpassword ${MAZADIR}/mazacoin.conf |awk -F= '{print $2}')}
Content type
Image
Digest
sha256:18e264392…
Size
407 MB
Last updated
about 11 years ago
docker pull mazaclub/tateserver-mazacoind