mirror of
https://github.com/r3bo0tbx1/tor-guard-relay.git
synced 2026-04-06 00:32:04 +02:00
fix(docker-compose): remove unnecessary blank lines for cleaner formatting
This commit is contained in:
@@ -5,16 +5,16 @@ services:
|
||||
image: ghcr.io/r3bo0tbx1/onion-relay:latest
|
||||
container_name: guard-relay
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
# Use host network for dual-stack IPv4/IPv6 support
|
||||
network_mode: host
|
||||
|
||||
|
||||
# Mount your configuration file (read-only)
|
||||
volumes:
|
||||
- ./relay.conf:/etc/tor/torrc:ro
|
||||
- tor-data:/var/lib/tor
|
||||
- tor-logs:/var/log/tor
|
||||
|
||||
|
||||
# Health check
|
||||
healthcheck:
|
||||
test: ["CMD", "tor", "--verify-config", "-f", "/etc/tor/torrc"]
|
||||
@@ -22,7 +22,7 @@ services:
|
||||
timeout: 15s
|
||||
start_period: 30s
|
||||
retries: 3
|
||||
|
||||
|
||||
# Resource limits (adjust based on your bandwidth)
|
||||
deploy:
|
||||
resources:
|
||||
@@ -32,7 +32,7 @@ services:
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
|
||||
|
||||
# Labels for organization
|
||||
labels:
|
||||
com.example.service: "tor-guard-relay"
|
||||
@@ -46,4 +46,4 @@ volumes:
|
||||
|
||||
# Example configuration file (relay.conf):
|
||||
# Create a file named 'relay.conf' in the same directory with your Tor settings
|
||||
# See: https://github.com/r3bo0tbx1/tor-guard-relay#%EF%B8%8F-usage-guide
|
||||
# See: https://github.com/r3bo0tbx1/tor-guard-relay#️-usage-guide
|
||||
|
||||
Reference in New Issue
Block a user