Directories on host machine:
-
/data/certbot/letsencrypt -
/data/certbot/www -
Nginx server in docker container
docker run -d --name nginx \
Directories on host machine:
/data/certbot/letsencrypt
/data/certbot/www
Nginx server in docker container
docker run -d --name nginx \
| # Listed generated on 2021-08-07 at 3:45am EST | |
| curl -s -X GET -H "Content-Type: application/json" \ | |
| -H "Authorization: Bearer ${DIGITALOCEAN_ACCESS_TOKEN}" \ | |
| "https://api.digitalocean.com/v2/images?page=1&per_page=100&type=distribution" \ | |
| | jq '.images[].slug' | sort | |
| "centos-7-x64" | |
| "centos-8-x64" | |
| "centos-stream-8-x64" | |
| "debian-10-x64" |
| FROM golang:alpine3.11 AS builder | |
| RUN apk update && apk add --no-cache git | |
| ENV USER=appuser | |
| ENV UID=10001 | |
| RUN adduser \ | |
| --disabled-password \ | |
| --gecos "" \ |
| const tunnel = require('tunnel-ssh'); | |
| import knexLib = require('knex'); | |
| async function main() { | |
| const sshUserName = 'SSH_USER_NAME'; | |
| const sshPassword = 'SSH_PASSWORD'; | |
| let sshConfig = { | |
| host: 'SSH_HOST_ADDRESS', | |
| port: SSH_PORT, |
| const mock = (success, timeout = 1000) => { | |
| return new Promise((resolve, reject) => { | |
| setTimeout(() => { | |
| if(success) { | |
| resolve(); | |
| } else { | |
| reject({message: 'Error'}); | |
| } | |
| }, timeout); | |
| }); |
| //https://habr.com/post/213515/ | |
| // This works on all devices/browsers, and uses IndexedDBShim as a final fallback | |
| var indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB || window.shimIndexedDB, | |
| IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction || window.msIDBTransaction, | |
| baseName = "baseName", | |
| storeName = "storeName"; | |
| function logerr(err){ | |
| console.log(err); |
| <?php | |
| /** | |
| * Class Container | |
| */ | |
| class Container | |
| { | |
| /** | |
| * @var array | |
| */ |
| HANGMANPICS = [''' | |
| +---+ | |
| | | | |
| | | |
| | | |
| | | |
| | | |
| =========''', ''' | |
| +---+ |
| Get-Content ./log.log -Wait -Tail 10 |
web based on compose service name so the nginx front-end can find http://web