Changing hostnameΒΆ

During installation the set hostname is stored in configuration and few additional places. For users that wish to adjust that post installation a set-hostname command is available.

Current hostname is displayed in ./rcstack status command.

$ ./rcstack status
Running hostname: http://rcstack.local

CONTAINER ID   NAMES                                  IMAGE                               STATUS
789ee615af54   rc_cluster_apps-rhodecode-1            rhodecode/rhodecode-ee:beta         Up 2 days
...

First ensure whole stack is stopped.

$ ./rcstack stack all down

Proceed with changing the hostname

$ ./rcstack cli set-hostname rcstack-changed.local

This command will hostname change is set in all required places. Start the stack, and check changed domain in status command

$ ./rcstack stack all up -d
$ ./rcstack status

Running hostname: http://rcstack-changed.local

    CONTAINER ID   NAMES                                  IMAGE                               STATUS
    789ee615af54   rc_cluster_apps-rhodecode-1            rhodecode/rhodecode-ee:beta         Up 2 days
    ...