Add Tor support for the relay service in the docker-compose file. Also, rename the service from `wot-relay` to `relay`. Add a new `torrc` configuration file and a `.gitignore` file in the `tor/data` directory to prevent sensitive data from being tracked. Also, create a new `docker-compose.tor.yml` file for Tor-specific configurations.
This commit updates the Dockerfile to use a more docker-friendly approach. Instead of cloning the repository inside the Dockerfile, it now copies the files from the host. It also sets some fixed environment variables and uses a .env file for the rest.
The docker-compose.yml file now uses an .env file for more convenient environment variable management. It also maps volumes to the host, allowing you to change the paths of the `db` folder and `templates` folder.
The README.md has been updated with new instructions reflecting these changes. It now includes instructions for running the Docker container in the foreground or background, and for updating the relay.
Introduced a Dockerfile to build the wot-relay application using the Golang image based on Debian Bookworm.
Configured the working directory, cloned the repository, downloaded Go module dependencies, set environment variables, and built the Go application.
Exposed port 3334 and set the command to run the executable.
Added a Docker Compose file for streamlined service deployment, including environment variable configurations, volume binding for the database directory, and port mapping.