homelab/roles/wordpress/defaults/main.yml

19 lines
548 B
YAML
Raw Normal View History

2021-03-13 23:55:15 +00:00
# settings
wordpress_multisite: false
wordpress_rule: "Host(`{{ wordpress_domain }}`)"
2021-03-13 23:55:15 +00:00
wordpress_config_extra: |
define('WP_ALLOW_MULTISITE', {{ wordpress_multisite | string }} );
2021-03-13 08:11:56 +00:00
# container names
wordpress_container: wordpress
wordpress_dbcontainer: "{{ wordpress_container }}-db"
2019-11-03 03:34:03 +00:00
2021-03-13 08:11:56 +00:00
# database settings
wordpress_dbname: "{{ wordpress_container }}"
wordpress_dbuser: "{{ wordpress_dbname }}"
# host mounts
wordpress_root: "/opt/wordpress"
wordpress_docroot: "{{ wordpress_root }}/public_html"
wordpress_dbroot: "{{ wordpress_root }}/database"