mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 21:21:03 +01:00
30 lines
850 B
YAML
30 lines
850 B
YAML
- name: "include tasks nginx-docker-proxy-domain.yml"
|
|
include_tasks: nginx-docker-proxy-domain.yml
|
|
|
|
- name: "docker mediawiki"
|
|
docker_compose:
|
|
project_name: mediawiki
|
|
definition:
|
|
application:
|
|
log_driver: journald
|
|
image: mediawiki
|
|
restart: always
|
|
links:
|
|
- database
|
|
volumes:
|
|
- "mediawiki-data:/var/www/html/"
|
|
ports:
|
|
- "127.0.0.1:{{http_port}}:80"
|
|
database:
|
|
log_driver: journald
|
|
image: mariadb
|
|
environment:
|
|
MYSQL_DATABASE: mediawiki
|
|
MYSQL_ROOT_PASSWORD: "{{mediawiki_mysql_user_password}}"
|
|
MYSQL_USER: mediawiki
|
|
MYSQL_PASSWORD: "{{mediawiki_mysql_user_password}}"
|
|
MARIADB_AUTO_UPGRADE: "1"
|
|
volumes:
|
|
- mediawiki-database:/var/lib/mysql
|
|
restart: always
|