adds multi domain option and improved the code.

This commit is contained in:
Llewellyn van der Merwe 2021-07-19 21:04:39 +02:00
parent ea82ef656c
commit 2fafde8483
Signed by: Llewellyn
GPG Key ID: EFC0C720A240551C
2 changed files with 522 additions and 264 deletions

View File

@ -81,16 +81,8 @@ Usage: docker-deploy [OPTION...]
-d|--domain <domain.com> -d|--domain <domain.com>
set key website domain set key website domain
!! must be domain.tld !! !! must be domain.tld !!
example: docker-deploy -d="vdm.dev" example: docker-deploy -d="joomla.org"
example: docker-deploy --domain="vdm.dev" example: docker-deploy --domain="joomla.org"
======================================================
AVAILABLE FOR JOOMLA CONTAINER
======================================================
-j|--joomla-version <version>
set Joomla version number
!! only number allowed !!
example: docker-deploy -j=3.10
example: docker-deploy --joomla-version=3.10
====================================================== ======================================================
-s|--sub-domain <domain.com> -s|--sub-domain <domain.com>
set key website sub domain set key website sub domain
@ -98,6 +90,13 @@ Usage: docker-deploy [OPTION...]
example: docker-deploy -s="jcb" example: docker-deploy -s="jcb"
example: docker-deploy --sub-domain="jcb" example: docker-deploy --sub-domain="jcb"
====================================================== ======================================================
AVAILABLE FOR JOOMLA CONTAINER
======================================================
-j|--joomla-version <version-tag>
see available tags here https://hub.docker.com/_/joomla
example: docker-deploy -j=3.10
example: docker-deploy --joomla-version=3.10
======================================================
AVAILABLE FOR OPENSSH CONTAINER AVAILABLE FOR OPENSSH CONTAINER
====================================================== ======================================================
-u|--username <username> -u|--username <username>
@ -145,7 +144,7 @@ Usage: docker-deploy [OPTION...]
example: docker-deploy -h example: docker-deploy -h
example: docker-deploy --help example: docker-deploy --help
====================================================== ======================================================
Docker Deploy v2.0 Docker Deployment v2.1.0
====================================================== ======================================================
``` ```
--- ---

File diff suppressed because it is too large Load Diff