Files
gitea/rootfs/usr/local/etc/docker
jason 98640213a2 🐛 Fall back to hostname -f for GITEA_SERVER when unset 🐛
HOSTNAME resolution now tries hostname -f (FQDN) before falling back
to the short $HOSTNAME, giving a usable ROOT_URL out of the box on
hosts where the FQDN is set in /etc/hosts or DNS.
- rootfs/usr/local/etc/docker/init.d/08-gitea.sh: HOSTNAME fallback
chain: GITEA_SERVER → GITEA_HOSTNAME → FULL_DOMAIN_NAME →
hostname -f → $HOSTNAME

rootfs/usr/local/etc/docker/init.d/08-gitea.sh
2026-05-31 15:36:55 -04:00
..