From fab101a40ecb55ff1b0671e51dd5d6d69483c9ec Mon Sep 17 00:00:00 2001 From: Alwyn Kik Date: Tue, 4 Dec 2018 15:21:44 +0100 Subject: [PATCH] Use container's hostname instead of localhost as backuppc hostname --- files/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/entrypoint.sh b/files/entrypoint.sh index 7e664dd..cdbb14a 100755 --- a/files/entrypoint.sh +++ b/files/entrypoint.sh @@ -59,7 +59,7 @@ if [ -f /firstrun ]; then --cgi-dir /var/www/cgi-bin/BackupPC \ --data-dir /data/backuppc \ --log-dir /data/backuppc/log \ - --hostname localhost \ + --hostname $(