mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-28 10:26:54 +02:00
Different small optimatiosn
This commit is contained in:
parent
1376930e5c
commit
fd0a978a16
@ -50,6 +50,10 @@ env:
|
||||
## on initial signup example 'user1@example.com,user2@example.com'
|
||||
DISCOURSE_DEVELOPER_EMAILS: {{users.administrator.email}}
|
||||
|
||||
# Set Logo
|
||||
DISCOURSE_LOGO_URL: "{{service_provider.platform.logo}}"
|
||||
DISCOURSE_LOGO_SMALL_URL: "{{service_provider.platform.logo}}"
|
||||
|
||||
# SMTP ADDRESS, username, and password are required
|
||||
# WARNING the char '#' in SMTP password can cause problems!
|
||||
DISCOURSE_SMTP_ADDRESS: {{ system_email.host }}
|
||||
|
@ -0,0 +1 @@
|
||||
FLASK_DEBUG={{ enable_debug }}
|
@ -3,13 +3,19 @@
|
||||
include_role:
|
||||
name: docker-discourse
|
||||
|
||||
- name: Wait for Discourse API
|
||||
wait_for:
|
||||
host: "{{ domains.discourse }}"
|
||||
port: 80
|
||||
delay: 5
|
||||
timeout: 600
|
||||
|
||||
- name: "Generate Discourse API Key when WP Discourse is enabled"
|
||||
include_tasks: generate-api-key.yml
|
||||
|
||||
- name: "Load WP Discourse settings"
|
||||
include_vars:
|
||||
file: "{{ role_path }}/vars/discourse.yml"
|
||||
# <— drop the `name:` here so `discourse_settings` is the list itself
|
||||
|
||||
- name: "Install WP Discourse plugin"
|
||||
command: >
|
||||
|
@ -7,13 +7,6 @@
|
||||
args:
|
||||
chdir: "{{ docker_compose.directories.instance }}"
|
||||
|
||||
- name: Wait for Discourse API
|
||||
wait_for:
|
||||
host: "{{ domains.discourse }}"
|
||||
port: 80
|
||||
delay: 5
|
||||
timeout: 600
|
||||
|
||||
- name: "Activate OpenID Connect Generic Plugin"
|
||||
command: >
|
||||
docker-compose exec -u www-data -T application
|
||||
|
@ -242,4 +242,4 @@ discourse_settings:
|
||||
#
|
||||
- name: discourse_logs
|
||||
key: logs-enabled
|
||||
value: {{ enable_debug }}
|
||||
value: "{{ enable_debug }}"
|
||||
|
@ -121,7 +121,7 @@ defaults_applications:
|
||||
{% endraw %}{{ features.render_features({
|
||||
'matomo': true,
|
||||
'css': true,
|
||||
'iframe': true,
|
||||
'iframe': false,
|
||||
'oidc': true,
|
||||
'database': true,
|
||||
}) }}{% raw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user