mirror of
https://github.com/r3bo0tbx1/tor-guard-relay.git
synced 2026-04-06 00:32:04 +02:00
This update refines the Tor relay configuration and build process: - Security: Disables DirPort and adopts ciissversion:2 for ContactInfo. - Performance: Adds IPv6 support and hardware acceleration options. - Builds: Establishes Stable vs. Edge variants for better testing cycles. - Tooling: Integrates nyx.config and cleans up legacy tags. - Sync: Aligns cosmos-compose and docker-compose templates. - Update retention policy: Keep last 7 versions No breaking changes introduced.
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"minVersion": "0.8.0",
|
|
"services": {
|
|
"TorGuardRelay": {
|
|
"image": "r3bo0tbx1/onion-relay:latest",
|
|
"container_name": "TorGuardRelay",
|
|
"restart": "unless-stopped",
|
|
"environment": [
|
|
"TZ=Asia/Tokyo"
|
|
],
|
|
"network_mode": "host",
|
|
"volumes": [
|
|
{
|
|
"type": "volume",
|
|
"source": "tor-guard-data",
|
|
"target": "/var/lib/tor"
|
|
},
|
|
{
|
|
"type": "volume",
|
|
"source": "tor-guard-logs",
|
|
"target": "/var/log/tor"
|
|
},
|
|
{
|
|
"type": "bind",
|
|
"source": "/home/<user>/relay.conf",
|
|
"target": "/etc/tor/torrc",
|
|
"read_only": true
|
|
}
|
|
],
|
|
"security_opt": [
|
|
"no-new-privileges:true"
|
|
],
|
|
"cap_drop": [
|
|
"ALL"
|
|
],
|
|
"cap_add": [
|
|
"NET_BIND_SERVICE",
|
|
"CHOWN",
|
|
"SETUID",
|
|
"SETGID",
|
|
"DAC_OVERRIDE"
|
|
],
|
|
"labels": {
|
|
"cosmos-description": "🛡️ Tor Guard Relay",
|
|
"cosmos-force-network-secured": "false",
|
|
"cosmos-icon": "https://raw.githubusercontent.com/r3bo0tbx1/tor-guard-relay/refs/heads/main/src/onion.png",
|
|
"cosmos-stack": "TorGuardRelay",
|
|
"cosmos-stack-main": "TorGuardRelay",
|
|
"cosmos-version": "1.1.4",
|
|
"maintainer": "rE-Bo0t.bx1 <r3bo0tbx1@brokenbotnet.com>"
|
|
}
|
|
}
|
|
},
|
|
"volumes": {
|
|
"tor-guard-data": {},
|
|
"tor-guard-logs": {}
|
|
}
|
|
} |