nixCraft published a tutorial about changing the hostname on Alpine Linux.
Alpine Linux Change Hostname (computer name)
Explains how to change or update hostname (computer name) on Alpine Linux using command line and configuration files.
Alpine Linux Change Hostname (computer name) - nixCraft