homelab/roles/wordpress/defaults/main.yml

19 lines
548 B
YAML

# settings
wordpress_multisite: false
wordpress_rule: "Host(`{{ wordpress_domain }}`)"
wordpress_config_extra: |
define('WP_ALLOW_MULTISITE', {{ wordpress_multisite | string }} );
# container names
wordpress_container: wordpress
wordpress_dbcontainer: "{{ wordpress_container }}-db"
# 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"