Build the Docker image from the mysql
project and run mysql
container.
Build the Docker image using the following command
$ docker build -t joomla-app:<tag> .
Run the Docker container using the command below.
$ docker run -d -p 8080:80 joomla-app:<tag>
$ docker run -e JOOMLA_DB_HOST=<DOCKER_IP> -e JOOMLA_DB_PASSWORD=<DB_PASSWORD> -v /your/path/to/joomla/html:/var/www/html -d -p 8080:80 joomla-app:<tag>
Follow the steps mentioned below for git based pipeline
-
Ensure that you have a git project
-
Commit your changes
$ git add . $ git commit -m "message"
-
Push the changes to git
$ git push <remote> master
JOOMLA_DB_HOST
- Host of MYSQL server (Docker IP).JOOMLA_DB_USER
- UserName of MYSQL database (defaults to "root").JOOMLA_DB_PASSWORD
- Password of MYSQL database.JOOMLA_DB_NAME
- Database Name (defaults to "joomla").
/var/www/html
- Should contain the joomla source files (/your/path/to/joomla/html
)
Joomla doesn't support serving content over SSL by default. You need to manually configure the installation configuration to force ssl https://forum.joomla.org/viewtopic.php?t=943420
http://joomla.stackexchange.com/questions/6929/install-from-web-not-working-with-ssl