mirror of
https://github.com/bitvora/wot-relay.git
synced 2025-04-19 18:21:18 +00:00

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.
8 lines
260 B
Plaintext
8 lines
260 B
Plaintext
RELAY_NAME="utxo WoT relay"
|
|
RELAY_PUBKEY="e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
|
|
RELAY_DESCRIPTION="Only notes in utxo WoT"
|
|
RELAY_URL="wss://wot.utxo.one"
|
|
DB_PATH="db"
|
|
INDEX_PATH="templates/index.html"
|
|
STATIC_PATH="templates/static"
|