Tag: environment variable
-
Post Views: 155 1. There is a Shopify PHP application, which can already be previewed in the development environment. as shown in Figure 1 2. Now it is ready to be deployed to the production environment. Shopify recommends creating a separate application if you need to deploy the application to the production environment. This application shares the code base with…
-
Post Views: 20 1. When I encounter a bug in the production environment, after a new container is newly deployed, when the first run, the value of the environment variables feels that it is not the environment variable of the container, but null. On the second run, the value of its environment variables is correct. On the first run, the…
-
Post Views: 20 1. In the container, when the environment variable is obtained for the first time, the configuration value of the production environment is obtained, or it is not obtained (set in the program, when the environment variable is not set, the default setting is the configuration value of the production environment). When the environment variable is obtained for…
-
Post Views: 13 1. When executing the command: git push -u origin main, an error is reported: fatal: unable to accesshttps://github.com/shuijingwan/refactoring.git/: Error:1407742E:SSL Routines:SSL23_GET_SERVER_Hello:TLSv1 Alert Protocol Version. as shown in Figure 1 2. Reference:https://github.com/glennhickey/progressiveCactus/issues/93. Work for me on Windows: Update git to latest version (2.16) and remove old version ( 1.9). as shown in Figure 2 3. Check the version of…
-
Post Views: 16 1. A total of 4 environment variables are configured in Rancher. as shown in Figure 1 2. Check the log of the container, there are 2 environment variables missing. as shown in Figure 2 3. The result is that the missing 2 environment variables in the configuration file are not replaced. as shown in Figure 3 4.…
-
Post Views: 15 1. Modify the multi-domain name mode to a single domain name mode, and modify the file: frontend/config/main.php. as shown in Figure 1 2. Modify the multi-domain name mode to single-domain name mode, and modify the file: etc/nginx/conf.d/ccp_api.conf. as shown in Figure 2 3. Now plan to upgrade the container based on the environment variable: channel_pub_api_cfg_frontend_domain_mode=single|multiple. Default: single.…
-
Post Views: 16 1. At this stage, there are 4 Rancher environment variables (the default value is not set, it must be set), and its value includes the public part: dev.xxx.cn 2. In the new stage, update 4 Rancher environment variables (the default value has been set, and there is no need to set it). Add a new environment variable…
-
Post Views: 15 1. When upgrading the container in Rancher, an error is reported: channel_pub_api_cfg_app_avatar_upload_path: unbound variable. as shown in Figure 1 2. View the file: /config/init/config0.sh. 3. Even in Rancher Add environment variables: channel_pub_api_cfg_app_avatar_upload_path_url, channel_pub_api_cfg_app_avatar_upload_path . The same error is still reported. as shown in Figure 2 4. Assign the environment variable in Rancher: channel_pub_api_cfg_app_avatar_upload_path A specific value. The…
-
Post Views: 13 1. Open the URL:https://www.sqlite.org/download.html. Download sqlite-dll-win64-x64-3330000.zip. as shown in Figure 1 2. Copy files: sqlite3.def, sqlite3.dll to the directory: D:\Program Files\SQLite. as shown in Figure 2 3. Add D:\Program Files\SQLite to the PATH environment variable. as shown in Figure 3 4. Finally, at the command prompt, use the sqlite3 command, the following results will be displayed. Indicates…
-
Post Views: 13 1. The full name of MinGW is: Minimalist GNU on Windows. Open URL:http://www.mingw-w64.org/doku.php/download, select MinGW-W64-Builds. as shown in Figure 1 2. Download the package name: mingw-w64-install.exe. Error during installation: cannot download repository.txt. as shown in Figure 2 3. Select Win-Builds. as shown in Figure 3 4. Download and install from Windows. as shown in Figure 4 5.…