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/
6
6
DOCKER_DIR=/home/docker
7
-
# 实际配置项目配置目录
7
+
# Actual configuration project configuration directory
# 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 read by crawlers (search engines/Line web page summaries, etc.)
# Absolute path of the TOKEN directory, containing the following files. The latest version of the server already supports automatic generation/download of these files:
20
+
# - access/ras_key|ras_key.pub: Public and private key pair for access key
21
+
# - refresh/ras_key|ras_key.pub: Public and private key pair for refresh key
22
+
# - ip2region.xdb: Mapping data from ip to region, manual download link: https://raw.githubusercontent.com/lionsoul2014/ip2region/master/data/ip2region.xdb
# jtt808 optional function directory. Optional files included are as follows. For download methods, see: https://github.com/TranscodeGroup/docker/blob/master/jtt808/README.md
# Current server internal IP. Currently no one uses it, can be left blank.
35
+
# For variables like JTT808_HOST/MYSQL_HOST, standalone deployment can directly use aliases (eg: jtt808). Internal network multi-server deployment recommends internal 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 suffixes. Nginx actually reads ${SSL_CERTIFICATE}.crt and ${SSL_CERTIFICATE}.key files.
42
+
# If using http, or using https but haven't applied for a certificate yet, it can be set to the built-in fake certificate: /home/docker/nginx/ssl/placeholder
43
+
# If using certbot to automatically apply for a certificate, you need to start it once separately (docker compose up certbot). The path of the applied certificate will be printed in the log, then add it to the variable, generally: /data/certbot/live/${SERVER_HOSTNAME}/certificate,
After verification passes, execute the following command to export the compose configuration to a file, which is convenient for comparing 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 like `_app.config.js`:
**Note**: After modifying the configuration, you need to execute `docker compose up` for the files to be overwritten to `/data/nginx/html/`. Because it uses the overwrite method, it is not recommended to directly modify files inside `/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