docker --version
. The minimum supported version is 20.10.0 (released in 2020). However, using a newer version, such as 26.1.4, is recommended. For installation instructions, refer to the official Docker documentation: https://docs.docker.com/engine/install/run-apidog.sh
: vi run-apidog.sh
. Press i
to enter insert mode and paste the following content.sh run-apidog.sh
.
init-nginx.sh
: vi init-nginx.sh
. Press i
to enter insert mode and paste the following content. Then, execute the script: sh init-nginx.sh
.
run-nginx.sh
: vi run-nginx.sh
. Press i
to enter insert mode and paste the following content. Do not run this script yet.
mkdir -p $PWD/appdata/conf.d/certs/
vi $PWD/appdata/conf.d/certs/pem
(Paste the certificate content into this file).vi $PWD/appdata/conf.d/certs/key
(Paste the key content into this file).default.conf
file: vi $PWD/appdata/conf.d/default.conf
. Press i
to enter insert mode and paste the following content, updating the server
directives in the backend
upstream block and the server_name
directives to match your environment.
run-nginx.sh
script: sh run-nginx.sh
.