From 50a701451a77addce195bdd7822f174f5e52b49d Mon Sep 17 00:00:00 2001 From: Pratham Patel Date: Thu, 27 Oct 2022 08:32:33 +0530 Subject: [PATCH] master-compose.yml: set hostname for nextcloud-govinda --- master-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/master-compose.yml b/master-compose.yml index 35a9238..70896b7 100644 --- a/master-compose.yml +++ b/master-compose.yml @@ -112,12 +112,14 @@ services: labels: - io.containers.autoupdate=registry - pratham.container.category=cloud +# https://stackoverflow.com/questions/29924843/how-do-i-set-hostname-in-docker-compose/63291253#63291253 + hostname: cloud.thefossguy.com environment: - POSTGRES_PASSWORD=/run/secrets/nextcloud_database_user_password - POSTGRES_DB=nextcloud - POSTGRES_USER=nextcloud - POSTGRES_HOST=nextcloud-db - - NEXTCLOUD_HOSTNAME=cloud.thefossguy.com +# - NEXTCLOUD_HOSTNAME=cloud.thefossguy.com - NEXTCLOUD_TRUSTED_DOMAINS=cloud.thefossguy.com - OVERWRITECLIURL=https://cloud.thefossguy.com - OVERWRITEPROTOCOL=https