Rebrand discovery service as straywild

This commit is contained in:
Alexander Sellite 2026-08-25 17:14:33 -04:00
parent e20d8e0553
commit de454ff48a
18 changed files with 95 additions and 95 deletions

View file

@ -1,19 +0,0 @@
# Bind locally and place a TLS reverse proxy in front of the service.
NETFISHING_DISCOVERY_HOST=127.0.0.1
NETFISHING_DISCOVERY_PORT=7770
NETFISHING_DISCOVERY_ROOM_TTL=45
NETFISHING_DISCOVERY_MAX_ROOMS=4096
NETFISHING_DISCOVERY_MAX_ROOMS_PER_ADDRESS=32
NETFISHING_DISCOVERY_MAX_BODY_BYTES=8192
NETFISHING_DISCOVERY_LOG_LEVEL=INFO
# Set this to the exact deployed Git commit so /health identifies the build.
NETFISHING_DISCOVERY_BUILD_REVISION=development
# Public UDP rendezvous used to observe ENet mappings and coordinate hole punching.
NETFISHING_DISCOVERY_TRAVERSAL_HOST=0.0.0.0
NETFISHING_DISCOVERY_TRAVERSAL_PORT=7771
NETFISHING_DISCOVERY_TRAVERSAL_PUBLIC_HOST=discovery.netfishing.org
# Only trust X-Forwarded-For when the immediate peer is within one of these CIDRs.
# The loopback values suit a reverse proxy on the same host.
NETFISHING_DISCOVERY_TRUSTED_PROXY_CIDRS=127.0.0.0/8,::1/128

View file

@ -0,0 +1,19 @@
# Bind locally and place a TLS reverse proxy in front of the service.
straywild_DISCOVERY_HOST=127.0.0.1
straywild_DISCOVERY_PORT=7770
straywild_DISCOVERY_ROOM_TTL=45
straywild_DISCOVERY_MAX_ROOMS=4096
straywild_DISCOVERY_MAX_ROOMS_PER_ADDRESS=32
straywild_DISCOVERY_MAX_BODY_BYTES=8192
straywild_DISCOVERY_LOG_LEVEL=INFO
# Set this to the exact deployed Git commit so /health identifies the build.
straywild_DISCOVERY_BUILD_REVISION=development
# Public UDP rendezvous used to observe ENet mappings and coordinate hole punching.
straywild_DISCOVERY_TRAVERSAL_HOST=0.0.0.0
straywild_DISCOVERY_TRAVERSAL_PORT=7771
straywild_DISCOVERY_TRAVERSAL_PUBLIC_HOST=discovery.straywild.io
# Only trust X-Forwarded-For when the immediate peer is within one of these CIDRs.
# The loopback values suit a reverse proxy on the same host.
straywild_DISCOVERY_TRUSTED_PROXY_CIDRS=127.0.0.0/8,::1/128

View file

@ -1,15 +1,15 @@
[Unit]
Description=NETfishing public room discovery service
Description=straywild public room discovery service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=netfishing-discovery
Group=netfishing-discovery
WorkingDirectory=/var/www/netfishing.org.discovery
EnvironmentFile=/etc/netfishing-discovery.env
ExecStart=/usr/bin/python3 -m netfishing_discovery
User=straywild-discovery
Group=straywild-discovery
WorkingDirectory=/var/www/straywild.io.discovery
EnvironmentFile=/etc/straywild-discovery.env
ExecStart=/usr/bin/python3 -m straywild_discovery
Restart=on-failure
RestartSec=2
NoNewPrivileges=true