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

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.
15 lines
445 B
YAML
15 lines
445 B
YAML
services:
|
|
relay:
|
|
container_name: wot-relay
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- "./db:/app/db" # only change the left side before the colon
|
|
- "./templates/index.html:/app/templates/index.html" # only change the left side before the colon
|
|
- "./templates/static:/app/templates/static" # only change the left side before the colon
|
|
ports:
|
|
- "3334:3334"
|