mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 15:28:12 +02:00
Renamed general and mode constants and implemented a check to verify that constants are just defined ones over the whole repository
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
## Multi Domain Installation
|
||||
If you want to access your mybb over multiple domains, keep the following in mind:
|
||||
- Set Cookie Domain to nothing
|
||||
- Access mybb for installation via mybb.<primary_domain>
|
||||
- Set the Board Url to mybb.<primary_domain>
|
||||
- Access mybb for installation via mybb.<PRIMARY_DOMAIN>
|
||||
- Set the Board Url to mybb.<PRIMARY_DOMAIN>
|
||||
|
||||
## Manual Installation of MyBB Plugins
|
||||
|
||||
|
@@ -18,4 +18,4 @@ docker:
|
||||
server:
|
||||
domains:
|
||||
canonical:
|
||||
- mybb.{{ primary_domain }}
|
||||
- mybb.{{ PRIMARY_DOMAIN }}
|
||||
|
@@ -25,7 +25,7 @@
|
||||
|
||||
- name: "create {{docker_compose_instance_confd_defaultconf_file}}"
|
||||
template:
|
||||
src: "default.conf"
|
||||
src: "default.conf.j2"
|
||||
dest: "{{docker_compose_instance_confd_defaultconf_file}}"
|
||||
notify: docker compose up
|
||||
|
||||
|
@@ -4,7 +4,7 @@ upstream mybb {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
error_log /proc/self/fd/2 {% if enable_debug | bool %}debug{% else %}warn{% endif %};
|
||||
error_log /proc/self/fd/2 {% if MODE_DEBUG | bool %}debug{% else %}warn{% endif %};
|
||||
root /var/www/html;
|
||||
index index.html index.php;
|
||||
|
@@ -3,7 +3,7 @@ application_id: "web-app-mybb"
|
||||
docker_compose_instance_confd_directory: "{{docker_compose.directories.instance}}conf.d/"
|
||||
docker_compose_instance_confd_defaultconf_file: "{{docker_compose_instance_confd_directory}}default.conf"
|
||||
target_mount_conf_d_directory: "{{nginx.directories.http.servers}}"
|
||||
source_domain: "mybb.{{primary_domain}}"
|
||||
source_domain: "mybb.{{PRIMARY_DOMAIN}}"
|
||||
database_type: "mariadb"
|
||||
mybb_version: "{{ applications | get_app_conf(application_id, 'docker.services.mybb.version', True) }}"
|
||||
mybb_image: "{{ applications | get_app_conf(application_id, 'docker.services.mybb.image', True) }}"
|
||||
|
Reference in New Issue
Block a user