mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added OIDC draft für wordpress
This commit is contained in:
@@ -4,14 +4,14 @@ services:
|
||||
|
||||
application:
|
||||
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
||||
image: {{custom_wordpress_image}}
|
||||
image: {{wordpress_custom_image}}
|
||||
container_name: wordpress-application
|
||||
build:
|
||||
context: .
|
||||
ports:
|
||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:80"
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
- data:{{ wordpress_docker_html_path }}
|
||||
|
||||
{% include 'roles/docker-compose/templates/services/msmtp_curl_test.yml.j2' %}
|
||||
|
||||
|
@@ -1,4 +1,15 @@
|
||||
WORDPRESS_DB_HOST= "{{database_host}}:{{database_port}}"
|
||||
WORDPRESS_DB_USER= "{{database_username}}"
|
||||
WORDPRESS_DB_PASSWORD= "{{database_password}}"
|
||||
WORDPRESS_DB_NAME= "{{database_name}}"
|
||||
WORDPRESS_DB_NAME= "{{database_name}}"
|
||||
|
||||
{% if applications[application_id].oidc.enabled | bool %}
|
||||
# OIDC Configuration (loaded if OIDC is enabled)
|
||||
# @see https://github.com/oidc-wp/openid-connect-generic/blob/develop/includes/openid-connect-generic-option-settings.php
|
||||
OIDC_CLIENT_ID={{ oidc.client.id }}
|
||||
OIDC_CLIENT_SECRET={{ oidc.client.secret }}
|
||||
OIDC_ENDPOINT_LOGOUT_URL={{ oidc.client.logout_url }}
|
||||
OIDC_ENDPOINT_LOGIN_URL={{ oidc.client.authorize_url }}
|
||||
OIDC_ENDPOINT_TOKEN_URL={{ oidc.client.token_url }}
|
||||
OIDC_ENDPOINT_USERINFO_URL={{ oidc.client.user_info_url }}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user