The .env File
You can set the correct values as per the following options. Once you set the values, you should rename the file to
.env before you start the server.
Configure HTTPS (SSL)
Due to Apple's mandatory requirement of mandatory HTTPS for online deployment and download services, d ownloading applications will be forced to go HTTPS protocol when redeploying.
If the deployment is a standalone service on a single machine, it is recommended to enable Let's Encrypt free SSL certificate:
The following self-signed certificate file name, can not be set at the same time
If the deployed machine can only use self-signed certificates, they need to be configured, but note that iOS downloads require the iOS device to authorize the self-signed certificate before the download and installation is allowed. (Not recommended)
Configure URL (Domain)
Must be configured otherwise downloaded applications and some static resources will not be accessed correctly
# No need http:// or https://
If you have reusable postgresql and redis services, you can also customize the configuration to use them instead of using the services configured by default with docker-compose.
This is a URL connection mainly for most cloud services compatibility
# Redis over SSL
Configure default language
|zh-CN||Simplified Chinese (default)|
Configure default appearance
Configure default Administer
The default does not configure the following will also generate the following account and password as an account with administrator privileges, it is recommended to change the password again after configuration.
Enable new user registration
After closing the registration, the administrator can add users manually through the user management in the administration panel.
# Open registration
# Close registration
Enable guest mode
Enable the visitor mode to allow the application to view, download and install, it is recommended that the company internal reliance on permissions is not high condition to use, specific permission comparison can see here for details
# Guest mode is ON
# Guest mode is OFF
smtp is supported to configure email notification service.
Email notification mainly affects are user registration, sending activation emails and
changing password service, but it does not affect the use if it is not turned on.
# SMTP settings
# Sender and email address by default
Disbale Cable request protection