No Description

Stuart Johnson 17f3b582a3 Add FACTOMD to php env variables 9 months ago
.gitignore ba6959904e first commit 10 months ago
Dockerfile a347da4511 add factomd nginx proxy 10 months ago
LICENSE ba6959904e first commit 10 months ago
README.md 0dde4204ce Update README.md 9 months ago
entrypoint.sh 17f3b582a3 Add FACTOMD to php env variables 9 months ago
faucet.php 264259ceb5 Rename var 9 months ago
index.php fa137a85f7 second commit 10 months ago
nginx-default bae12df29e third commit 10 months ago
nginx-stream.conf a347da4511 add factomd nginx proxy 10 months ago
test a347da4511 add factomd nginx proxy 10 months ago
wallet.php ba6959904e first commit 10 months 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