Skip to main content

Environment Variables

VariableValueDescription
DOMAINcloud.domain.comThe domain or subdomain to access your nextcloud instance
POSTGRES_DBnextcloudThe name of your nextcloud database
POSTGRES_USERpostgresThe name of the nextcloud db postgres user
POSTGRES_PASSWORDNextCloudPostgresPasswordThe nextcloud db postgres password
POSTGRES_HOSTnextcloud-postgresThe host (container) of the postgres database
OVERWRITEHOSTcloud.domain.comUse the same domain as earlier, this is for Nextcloud's config
OVERWRITEPROTOCOLhttpsSSL or no
STORAGE_DIRECTORY/path/to/nextcloud/storageThe path to your Nextcloud storage directory
DATABASE_DIRECTORY/path/to/nextcloud/dbThe path to your Nextcloud database directory