- RSA/PKCS1:
-----BEGIN RSA PRIVATE KEY----- - EC:
-----BEGIN EC PRIVATE KEY----- - PKCS8:
-----END PRIVATE KEY----- - OPENSSH:
-----BEGIN OPENSSH PRIVATE KEY----- - RSA:
-----BEGIN RSA PUBLIC KEY----- - PEM:
-----BEGIN PUBLIC KEY----- - SSH2/RFC4716:
---- BEGIN SSH2 PUBLIC KEY ----
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # bindkey -s "^[OM" "^M" | |
| bindkey -s "^[Oj" "*" | |
| bindkey -s "^[Ok" "+" | |
| bindkey -s "^[Ol" "." | |
| bindkey -s "^[Om" "-" | |
| bindkey -s "^[Oo" "/" | |
| bindkey -s "^[Op" "0" | |
| bindkey -s "^[Oq" "1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export GOROOT=/usr/local/go | |
| export GOPATH=$HOME/go | |
| export PATH=$PATH:$GOROOT/bin:$GOPATH/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ req ] | |
| distinguished_name = req_distinguished_name | |
| req_extensions = v3_req | |
| [ req_distinguished_name ] | |
| [ v3_req ] | |
| basicConstraints = CA:FALSE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| set -ex | |
| command_exists() { | |
| command -v "$@" > /dev/null 2>&1 | |
| } | |
| user="$(id -un 2>/dev/null || true)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Optional: php7.3-imap php7.3-ldap php7.3-pgsql php-memcached php-smbclient | |
| sudo wget -qO /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.xyz/php/apt.gpg; \ | |
| echo "deb https://packages.sury.xyz/php $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list; \ | |
| sudo apt update; \ | |
| sudo apt upgrade -y; \ | |
| sudo apt install -y php7.3-fpm php7.3-bcmath php7.3-bz2 php7.3-curl php7.3-gd php7.3-gmp php7.3-intl php7.3-json php7.3-mbstring php7.3-mysql php7.3-opcache php7.3-readline php7.3-sqlite3 php7.3-xml php7.3-zip php-apcu php-redis php-imagick redis-server mariadb-server nginx; \ | |
| echo "UPDATE mysql.user SET plugin = 'mysql_native_password' WHERE User = 'root' AND Host = 'localhost' AND plugin = 'unix_socket';" | sudo mysql; \ | |
| sudo mysql_secure_installation; \ | |
| sudo cp /etc/mysql/mariadb.conf.d/50-server.cnf /etc/mysql/mariadb.conf.d/50-server.cnf.backup; \ | |
| sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| set -e | |
| generate_entry_script() { | |
| TARGET_BIN="$1" | |
| ENTRY_SCRIPT="$ENV_DIR/$TARGET_BIN" | |
| printf "#!/usr/bin/env sh\nexec \"%s/bin/%s\" \"%s/bin/%s\" \"\$@\"\n" "$ENV_DIR" "$PYTHON_BIN" "$ENV_DIR" "$TARGET_BIN" > "$ENTRY_SCRIPT" | |
| chmod +x "$ENTRY_SCRIPT" | |
| echo "ln -s \"$ENTRY_SCRIPT\"" |
- Nginx container has access to
binded/var/wwwonhost - App container has access to
binded/var/www/apponhost - App container copies codes from
/usr/src/appto/var/www/app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| time_namelookup: %{time_namelookup}\n | |
| time_connect: %{time_connect}\n | |
| time_appconnect: %{time_appconnect}\n | |
| time_pretransfer: %{time_pretransfer}\n | |
| time_redirect: %{time_redirect}\n | |
| time_starttransfer: %{time_starttransfer}\n | |
| ----------\n | |
| time_total: %{time_total}\n |
OlderNewer