Web Server with possible multi-virtuals hosts, everything is protected by SSL.
FTPS permit to access to root directory from Web Server.
DataBase could be access by internet
Let's Encrypt (SSL)
Nginx (Web Server)
USER_NAME for FTP
USER_PASS for FTP
DOMAINS domains name for SSL and could create multi virtual hosts (Ex : domain1.com;domain2.com)
DB_ROOT_PASS password for Mysql connection
docker run -dti \ --name=web \ -e USER_NAME="user" \ -e USER_PASS="passU" \ -e DOMAINS="domain1.com;domain2.com" \ -e MAIL="myMail@domain.com" \ -e DB_ROOT_PASS="passR" \ -p 80:80 -p 443:443 -p 21:21 -p 3306:3306 -p 2121-2142:2121-2142 \ stefang/web bash
After launch, wait around 3 minutes and check if error exist (nothing mean every thing it's ok)
docker logs web
There were too many requests of a given type :: Error creating new cert :: too many certificates already issued for exact set of domains: domain1.com. ...
Try again in 7 days