1
0
Fork 0

master-compose.yml: set hostname for nextcloud-govinda

This commit is contained in:
Pratham Patel 2022-10-27 08:32:33 +05:30
parent 94caeb4bc8
commit 50a701451a
1 changed files with 3 additions and 1 deletions

View File

@ -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