mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Removed server_ for better overview
This commit is contained in:
35
roles/docker-joomla/templates/docker-compose.yml.j2
Normal file
35
roles/docker-joomla/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,35 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
application:
|
||||
image: joomla
|
||||
logging:
|
||||
driver: journald
|
||||
environment:
|
||||
JOOMLA_DB_HOST: "database:3306"
|
||||
JOOMLA_DB_USER: "joomla"
|
||||
JOOMLA_DB_PASSWORD: "{{joomla_database_password}}"
|
||||
JOOMLA_DB_NAME: "joomla"
|
||||
restart: always
|
||||
links:
|
||||
- database
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
ports:
|
||||
- "127.0.0.1:{{http_port}}:80"
|
||||
database:
|
||||
image: mariadb
|
||||
logging:
|
||||
driver: journald
|
||||
environment:
|
||||
MYSQL_DATABASE: "joomla"
|
||||
MYSQL_USER: "joomla"
|
||||
MYSQL_PASSWORD: "{{joomla_database_password}}"
|
||||
MYSQL_ROOT_PASSWORD: "{{joomla_database_password}}"
|
||||
MARIADB_AUTO_UPGRADE: "1"
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
volumes:
|
||||
database:
|
||||
data:
|
Reference in New Issue
Block a user