You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Docker repository directory. It is not recommended to reference the absolute path of the docker repository in the compose file. It is recommended to use configs instead: https://docs.docker.com/reference/compose-file/configs/
# bus frontend file override directory. Files in this directory will be copied to the bus frontend directory when compose is up. Usually, the following files can be overridden:
# track frontend file override directory. Files in this directory will be copied to the track frontend directory when compose is up. Usually, the following files can be overridden:
13
+
# - _app.config.js: Frontend configuration file
14
+
# - index-seo.html: Static page for crawlers (search engine/Line web page abstract, etc.)
# Absolute path of TOKEN directory, including the following files. The latest server version already supports automatic generation/download of these files:
20
+
# - access/ras_key|ras_key.pub: Public/private key pair for access secret
21
+
# - refresh/ras_key|ras_key.pub: Public/private key pair for refresh secret
22
+
# - ip2region.xdb: ip to region mapping data, manual download link: https://raw.githubusercontent.com/lionsoul2014/ip2region/master/data/ip2region.xdb
# jtt808 optional feature directory, optionally including the following files, see download details: https://github.com/TranscodeGroup/docker/blob/master/jtt808/README.md
# Current server internal IP, currently no one uses it, can be left blank
35
+
# JTT808_HOST/MYSQL_HOST and other variables, single machine deployment can use alias directly (eg: jtt808), intranet multi-server deployment recommends intranet IP, public network deployment uses public IP
36
36
SERVER_IP_INTERNAL=''
37
37
38
-
# 必填, 服务器域名, 若没有域名, 则填写公网IP
38
+
# Required, server domain name, if there is no domain name, fill in the public IP
# 若使用crotbot自动申请证书, 需要先单独启动一次(docker compose up crotbot), 申请到的证书路径会在日志中打印, 然后将它添加到变量中, 一般为: /data/certbot/live/${SERVER_HOSTNAME}/certificate,
41
+
# Required, absolute path of the certificate file, excluding .crt/.key suffix. nginx actually reads the two files ${SSL_CERTIFICATE}.crt and ${SSL_CERTIFICATE}.key
42
+
# If using http, or using https but no certificate has been applied for temporarily, it can be set to the built-in fake certificate: /home/docker/nginx/ssl/placeholder
43
+
# If using crotbot to automatically apply for a certificate, you need to start it separately first (docker compose up crotbot). The applied certificate path will be printed in the log, and then add it to the variable, generally: /data/certbot/live/${SERVER_HOSTNAME}/certificate,
After passing the verification, execute the following command to export the compose configuration to a file, so as to compare the differences after updating the compose file:
42
42
43
43
```sh
44
44
docker compose config > compose-stack.yaml
45
45
```
46
46
47
-
### 4. 配置前端
47
+
### 4. Configure Frontend
48
48
49
-
前端复写目录, 用来放`_app.config.js`等项目特定的前端配置文件:
49
+
Frontend override directory, used to place project-specific frontend configuration files such as `_app.config.js`:
**Note**: After modifying the configuration, you need to execute `docker compose up` for the file to be overwritten to `/data/nginx/html/`. Because it uses the overwrite method, it is not recommended to directly modify the files in `/data/nginx/html/`.
55
55
56
-
### 5. 其他可选配置
56
+
### 5. Other optional configurations
57
57
58
-
-[jtt808视频转换工具](./jtt808/README.md)
59
-
-[手动下载前端](./scripts/README.md)
58
+
-[jtt808 video conversion tool](./jtt808/README.md)
0 commit comments