updated the docker compose file
This commit is contained in:
parent
f1e74c60fb
commit
f8010a6b41
@ -6,11 +6,6 @@ version: '3.8'
|
|||||||
# For Production
|
# For Production
|
||||||
# docker-compose up -d
|
# docker-compose up -d
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
joomla-db:
|
|
||||||
joomla:
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
external:
|
external:
|
||||||
@ -18,7 +13,7 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
mariadb-joomla:
|
mariadb-joomla:
|
||||||
image: mariadb:10.7.1 # https://hub.docker.com/_/mariadb
|
image: mariadb:11.2.2 # https://hub.docker.com/_/mariadb
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||||||
@ -26,12 +21,12 @@ services:
|
|||||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
||||||
MYSQL_DATABASE: ${MYSQL_DATABASE}
|
MYSQL_DATABASE: ${MYSQL_DATABASE}
|
||||||
volumes:
|
volumes:
|
||||||
- joomla-db:/var/lib/mysql
|
- ./data/joomla-db:/var/lib/mysql
|
||||||
- "/etc/timezone:/etc/timezone:ro"
|
- "/etc/timezone:/etc/timezone:ro"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
|
||||||
joomla:
|
joomla:
|
||||||
image: joomla:4.3.2 # https://hub.docker.com/_/joomla
|
image: joomla:4.4.1 # https://hub.docker.com/_/joomla
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
JOOMLA_DB_HOST: mariadb-joomla
|
JOOMLA_DB_HOST: mariadb-joomla
|
||||||
@ -39,7 +34,7 @@ services:
|
|||||||
JOOMLA_DB_PASSWORD: ${MYSQL_PASSWORD}
|
JOOMLA_DB_PASSWORD: ${MYSQL_PASSWORD}
|
||||||
JOOMLA_DB_NAME: ${MYSQL_DATABASE}
|
JOOMLA_DB_NAME: ${MYSQL_DATABASE}
|
||||||
volumes:
|
volumes:
|
||||||
- ./html:/var/www/html
|
- ./data/html:/var/www/html
|
||||||
- ./php/php.ini:/usr/local/etc/php/php.ini
|
- ./php/php.ini:/usr/local/etc/php/php.ini
|
||||||
- "/etc/timezone:/etc/timezone:ro"
|
- "/etc/timezone:/etc/timezone:ro"
|
||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
|
Reference in New Issue
Block a user