From 0042731d6d7213d991f4c2a9ceb142c19e0d9d1e Mon Sep 17 00:00:00 2001 From: Alwyn Kik Date: Tue, 4 Dec 2018 15:45:18 +0100 Subject: [PATCH] Added docs on how to set the hostname --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a127444..0b778d2 100644 --- a/README.md +++ b/README.md @@ -236,6 +236,18 @@ The configure.pl script will detect a v3.x version under /etc/backuppc, and will ## Miscellaneous +### Hostname + +The backuppc host name will default to the container's hostname. You can modify this by setting `--hostname` in your `docker run` command like so: + +```bash +docker run \ + --name backuppc \ + --hostname backuppc.example.org \ + --publish 80:8080 \ + adferrand/backuppc +``` + ### Timezone By default the timezone of this docker is set to UTC. To modify it, you can specify a tzdata-compatible timezone in the environment variable `TZ`.