This project sets up a Shoggoth Node using Docker and Docker Compose. It is designed to be simple to set up and run, encapsulating all necessary configurations and dependencies.
- Docker
- Docker Compose
-
Clone the Repository:
- Ensure you have the
Dockerfile
anddocker-compose.yml
files in your project directory. - Run
git clone https://github.com/name/shoggoth-docker.git
to clone the repository.
- Ensure you have the
-
Build the Docker Image:
- Run
docker-compose build
to build the Shoggoth Docker image.
- Run
-
Start the Container:
- Run
docker-compose up -d
to start the Shoggoth container in detached mode.
- Run
-
Accessing the Shoggoth Node:
- The Shoggoth Node will be running inside the container named
shoggoth-node
.
- The Shoggoth Node will be running inside the container named
To modify the Shoggoth Node configuration:
-
Enter the Container:
- Run
docker exec -it shoggoth-node bash
to access the bash shell inside the container.
- Run
-
Install a Text Editor (if not present):
- Run
apt-get install vim
to install Vim. You can use any other text editor of your choice.
- Run
-
Edit the Configuration File:
- Run
vi /root/shoggoth/node/config.toml
to edit the configuration file. - Make necessary changes as per the Shoggoth documentation.
- Run
-
Restart the Shoggoth Node:
- Run
shog node stop
and thenshog node start
to restart the node with the new configuration.
- Run
-
Exit the Container:
- Type
exit
to leave the container's shell.
- Type
- By default, the Shoggoth Node's port
6969
is not exposed. - If you need to access the web interface directly, uncomment the
ports
section in thedocker-compose.yml
file.
- Data for the Shoggoth Node is persisted in a Docker volume named
shoggoth_data
. - This ensures that your data remains intact across container restarts and removals.
- Ensure Docker and Docker Compose are properly installed and up to date.
- Check the container logs using
docker logs shoggoth-node
for any errors or issues.