Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: '3.8'
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as in the noray PR, Docker Compose complains about specifying version


services:
nohub:
image: ghcr.io/foxssake/nohub:main
ports:
- "9980:9980" # TCP port for client connections
- "9981:9981" # Metrics port (Prometheus)
environment:
# TCP Configuration
Comment thread
elementbound marked this conversation as resolved.
- NOHUB_TCP_HOST=0.0.0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason for listening on 0.0.0.0 instead of the default *?

- NOHUB_TCP_PORT=9980

# Metrics Configuration
- NOHUB_METRICS_ENABLED=true
- NOHUB_METRICS_HOST=0.0.0.0
- NOHUB_METRICS_PORT=9981

# Logging
- NOHUB_LOG_LEVEL=info

# Lobby Configuration
- NOHUB_LOBBIES_MAX_COUNT=32768
- NOHUB_LOBBIES_MAX_PER_SESSION=4
- NOHUB_LOBBIES_WITHOUT_GAME=true

# Session Configuration
- NOHUB_SESSIONS_MAX_COUNT=262144
- NOHUB_SESSIONS_MAX_PER_ADDRESS=64
restart: unless-stopped