Docker Compose Recipe
ToDo: add certificates in the ./cert/
folder
ToDo: add htpasswd
in the ./auth/
folder
Research: How to use docker secrets without a swarm cluster
Generate htpasswd
file
Head to this old site: https://mdstn.com/apps/textcrypt
For generating .htpasswd
file for example:
- Username:
hello
- Password:
world
- Path:
/auth
Get here your .htpasswd
Run docker compose
Nginx Configuration
Make sure you set client_max_body_size
not too small or you’ll get 413 Request Entity Too Large.
For more information about this configuration, you can read my post below
Handy bash scripts
Docker Push
How to run
docker.push name/reference
Docker Pull
(Work in progress)