Created
May 15, 2022 06:40
-
-
Save sztan/d8ea2ec0ccbcb4f3090c9ec60a9e036c to your computer and use it in GitHub Desktop.
run joomla inside docker with docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mariadb: | |
image: docker.io/bitnami/mariadb:10.6 | |
environment: | |
# ALLOW_EMPTY_PASSWORD is recommended only for development. | |
- ALLOW_EMPTY_PASSWORD=yes | |
- MARIADB_USER=bn_joomla | |
- MARIADB_DATABASE=bitnami_joomla | |
volumes: | |
- ./mariadb_data:/bitnami/mariadb | |
joomla: | |
image: docker.io/bitnami/joomla:4 | |
ports: | |
- '8080:8080' | |
- '443:8443' | |
environment: | |
- JOOMLA_DATABASE_HOST=mariadb | |
- JOOMLA_DATABASE_PORT_NUMBER=3306 | |
- JOOMLA_DATABASE_USER=bn_joomla | |
- JOOMLA_DATABASE_NAME=bitnami_joomla | |
# ALLOW_EMPTY_PASSWORD is recommended only for development. | |
- ALLOW_EMPTY_PASSWORD=yes | |
volumes: | |
- ./joomla_data:/bitnami/joomla | |
links: | |
- mariadb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment