(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
(https://github.com/sandino/Markdown-Cheatsheet) (перевод, оригинал)
Поиграть с разметкой Markdown можно на демо-странице.
| #### NOTE STACK MUST BE CREATED WITH: --with-registry-auth E.g.: | |
| docker stack deploy mystack --compose-file /home/user/mystack/mystack.yaml --with-registry-auth | |
| ##### Create authentication username and password and store it in your docker config location, just because ##### | |
| mkdir --parents /etc/docker/registry/auth && cd "$_" | |
| docker run --rm --entrypoint htpasswd registry:2.7.0 -Bbn myusername thisismypassword >htpasswd | |
| # Create certificates, assuming 1st node's (the one with the registry container and the primary builder) FQDN is: node1.domain.local | |
| mkdir --parents /etc/docker/registry/certs && cd "$_" | |
| openssl genrsa -aes256 -out domain.key 4096 |
https://gist.github.com/dancheskus/365e9bc49a73908302af19882a86ce52
В результате будет 2 react проекта на 1 сервере доступных по разным ссылкам
Обновляемся
apt update && apt upgradeСтавим docker
sudo apt-get install apt-transport-https ca-certificates curl gnupg2