https://github.com/php/php-src/blob/master/php.ini-production
This guide explains how to create a simple multi cloud Docker cluster using Docker Swarm, Docker Machine and the three top cloud providers nowadays - Google Compute Engine, Microsoft Azure and AWS.
This guide assumes you have a Linux host with Docker CE installed. If you are using Docker for Mac or Docker for Windows you can avoid the Docker Machine set up since it comes included.
Scenario: same git provider, for this example GitHub (this trick is provider agnostic, has been tested with GitLab as well), and we want to have SSH configured for two different users (or more): jesugmz and myseconduser.
Configure SSH config in order to get an alias with different configuration as follow:
$ cat ~/.ssh/config
docker login
will produce a base64 digest if the binaries pass
and secretservice
are not present on Linux platforms (source).
To generate a base64 auth token:
echo -n 'username:password' | base64
Real example about how to generate and add a Let's Encrypt SSL/TLS certificates to a dockerized Nginx under a running Docker Swarm using Cloudflare DNS to enable HTTPS.
# | |
# Avoid the message 'External file changes sync may be slow: The current inotify(7) watch limit is too low.' from JetBrains products. | |
# | |
# 1. Create the file /etc/sysctl.d/60-jetbrains.conf and paste this code | |
# 2. Restart the sysctl service: sudo sysctl -p --system | |
# 3. Restart the IDE | |
# | |
# More info: | |
# https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
Just check the output looking for the TLS versions. In this case v1.0, v1.1, v1.2 and v1.3:
$ nmap --script ssl-enum-ciphers -p 443 www.google.com
Starting Nmap 7.93 ( https://nmap.org ) at 2023-03-29 18:12 CEST
NSOCK ERROR [0.0620s] ssl_init_helper(): OpenSSL legacy provider failed to load.
Nmap scan report for www.google.com (142.250.185.4)