No Description

Stuart Johnson 17f3b582a3 Add FACTOMD to php env variables 1 year ago
.gitignore ba6959904e first commit 1 year ago
Dockerfile a347da4511 add factomd nginx proxy 1 year ago
LICENSE ba6959904e first commit 1 year ago
README.md 0dde4204ce Update README.md 1 year ago
entrypoint.sh 17f3b582a3 Add FACTOMD to php env variables 1 year ago
faucet.php 264259ceb5 Rename var 1 year ago
index.php fa137a85f7 second commit 1 year ago
nginx-default bae12df29e third commit 1 year ago
nginx-stream.conf a347da4511 add factomd nginx proxy 1 year ago
test a347da4511 add factomd nginx proxy 1 year ago
wallet.php ba6959904e first commit 1 year ago

README.md

FactomFaucet

Prerequisites

Build Docker Container

docker build -t factom_faucet_img https://github.com/logicethos/FactomFaucet.git

Start Container

docker run -d \
   -e "FACTOMD=localhost:8088" \
   -e "RECAPTCHA=6LdR50MUAAAAADdV1OJZUazmjcwefqfw_vK-5UZe" \
   -e "RECAPTCHA_SECRET=6LdR50MUAAAAAD8ybRsVlqwewef710" \
   -e "DOMAIN=faucet.mydomain.com" \
   -p 80:80 -p 443:443 --name factom_faucet factom_faucet_img

To use factom-cli

docker exec -it factom_faucet factom-cli ......

To access bash shell

docker exec -it factom_faucet /bin/bash

Configure faucet

edit the file /var/www/wallet.php in the container.

To use the Faucet

Visit https://.your-domain.com