wot-relay/docker-compose.yml
HolgerHatGarKeineNode 338442006b
Add Dockerfile and Docker Compose for wot-relay setup
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.
2024-09-06 17:49:30 +00:00

14 lines
378 B
YAML

services:
wot-relay:
build:
context: .
dockerfile: Dockerfile
environment:
RELAY_NAME: "utxo WoT relay"
RELAY_PUBKEY: "e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
RELAY_DESCRIPTION: "Only notes in utxo WoT"
DB_PATH: "./db"
volumes:
- "./db:/app/db"
ports:
- "3334:3334"