mirror of
https://github.com/stoatchat/self-hosted.git
synced 2026-07-20 20:16:47 -04:00
[PR #184] feat: add named flags and port support to generate_config.sh #185
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/self-hosted/pull/184
Author: @joemcmahon
Created: 2/10/2026
Status: 🔄 Open
Base:
main← Head:feat/generate-config-port-support📝 Commits (1)
54c48ecfeat: add named flags and port support to generate_config.sh📊 Changes
1 file changed (+64 additions, -7 deletions)
View changed files
📝
generate_config.sh(+64 -7)📄 Description
Support non-standard HTTP/HTTPS ports for deployments where 80/443 are already in use (e.g., behind an existing web server).
New usage:
./generate_config.sh --domain chat.example.com --http 9080 --https 9443
Legacy positional usage still works:
./generate_config.sh chat.example.com
When non-standard ports are specified, prints hints for updating compose.yml port mappings.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.