Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 645 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 645 Bytes

fantom-docker

Docker image for Fantom Opera full node

create a .env file and set:

[email protected]
CLOUDFLARE_API_KEY=cloudflare api key
FANTOM_HOSTNAME=fantom.yourdomain.com

use docker-compose and docker to interact with the containers

docker-compose up --build -d
 
# stop the node
docker-compose down
 
# view the logs
docker-compose logs -f
 
# start a shell in a new container with the same data volume
docker-compose run fantom ash

# attach to the go-opera json interface
docker-compose run fantom opera attach
 
# connect to the container
docker exec -it $(docker ps --filter "name=fantom" -q) ash