|
1 | 1 | ## ================================ Directory ================================ |
2 | 2 |
|
| 3 | +# Docker repository directory. For files inside the docker repository, relative paths are mostly used, so referencing this absolute path is generally not necessary. |
| 4 | +DOCKER_DIR=/home/docker |
3 | 5 | # Data directory, used for storing logs/database/files, etc. |
4 | 6 | DATA_DIR=/data |
5 | | -# 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 | | -DOCKER_DIR=/home/docker |
7 | | -# Project configuration directory |
| 7 | +# Configuration directory, used for storing configuration files. It is recommended to use git to manage this directory. |
8 | 8 | DOCKER_COMPOSE_DIR=/home/docker-compose |
9 | 9 | # 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: |
10 | 10 | # - _app.config.js: Frontend configuration file |
@@ -41,7 +41,7 @@ SERVER_HOSTNAME='' # livedvr.tripsdd.com |
41 | 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 | 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 | 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, |
44 | | -SSL_CERTIFICATE='/home/docker/nginx/ssl/placeholder' |
| 44 | +SSL_CERTIFICATE=${DOCKER_DIR}/nginx/ssl/placeholder # /home/docker/nginx/ssl/placeholder |
45 | 45 |
|
46 | 46 | # When bus and track are deployed on the same server, they need to be distinguished by domain name |
47 | 47 | BUS_HOSTNAME=${SERVER_HOSTNAME} |
|
0 commit comments