mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-01-22 07:03:21 +01:00
Optimized keycloak and administrator variables
This commit is contained in:
parent
7b490c18d2
commit
0d77245b46
@ -228,6 +228,9 @@ gitlab_version: "latest"
|
|||||||
#### Joomla
|
#### Joomla
|
||||||
joomla_version: "latest"
|
joomla_version: "latest"
|
||||||
|
|
||||||
|
#### Keycloak
|
||||||
|
keycloak_version: "latest"
|
||||||
|
|
||||||
#### Listmonk
|
#### Listmonk
|
||||||
listmonk_admin_username: "admin"
|
listmonk_admin_username: "admin"
|
||||||
listmonk_public_api_activated: False # Security hole. Can be used for spaming
|
listmonk_public_api_activated: False # Security hole. Can be used for spaming
|
||||||
@ -257,10 +260,10 @@ mailu_domain: "{{top_domain}}"
|
|||||||
mailu_subnet: "192.168.203.0/24"
|
mailu_subnet: "192.168.203.0/24"
|
||||||
|
|
||||||
#### Moodle
|
#### Moodle
|
||||||
moodle_site_name: "Global Learning Academy on {{top_domain}}"
|
moodle_site_name: "Global Learning Academy on {{top_domain}}"
|
||||||
moodle_user_name: "{{administrator_username}}"
|
moodle_administrator_name: "{{administrator_username}}"
|
||||||
moodle_user_email: "{{administrator_email}}"
|
moodle_administrator_email: "{{administrator_email}}"
|
||||||
moodle_version: "latest"
|
moodle_version: "latest"
|
||||||
|
|
||||||
#### MyBB
|
#### MyBB
|
||||||
mybb_version: "latest"
|
mybb_version: "latest"
|
||||||
@ -283,5 +286,5 @@ postgres_database_version: "latest"
|
|||||||
taiga_version: "latest"
|
taiga_version: "latest"
|
||||||
|
|
||||||
#### YOURLS
|
#### YOURLS
|
||||||
yourls_user: "{{administrator_username}}"
|
yourls_administrator_name: "{{administrator_username}}"
|
||||||
yourls_version: "latest"
|
yourls_version: "latest"
|
@ -45,7 +45,7 @@ pixelfed_database_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
|||||||
pixelfed_app_key: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
pixelfed_app_key: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
||||||
wordpress_database_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
wordpress_database_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
||||||
yourls_database_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
yourls_database_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
||||||
yourls_user_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
yourls_administrator_name_password: "I_NEED_TO_CHANGE_THIS_UNSECURE_PASSWORD"
|
||||||
|
|
||||||
path_mass_storage: "/mnt/hdd/"
|
path_mass_storage: "/mnt/hdd/"
|
||||||
path_rapid_storage: "/mnt/ssd/"
|
path_rapid_storage: "/mnt/ssd/"
|
@ -6,24 +6,24 @@ services:
|
|||||||
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
||||||
|
|
||||||
keycloak:
|
keycloak:
|
||||||
image: quay.io/keycloak/keycloak:latest
|
image: quay.io/keycloak/keycloak:{{keycloak_version}}
|
||||||
command: start
|
command: start
|
||||||
environment:
|
environment:
|
||||||
KC_HOSTNAME: {{domain}}
|
KC_HOSTNAME: {{domain}}
|
||||||
KC_HOSTNAME_PORT: {{http_port}}
|
#KC_HOSTNAME_PORT: {{http_port}}
|
||||||
KC_HOSTNAME_STRICT_BACKCHANNEL: false
|
KC_HOSTNAME_STRICT_BACKCHANNEL: true
|
||||||
KC_HTTP_ENABLED: true
|
KC_HTTP_ENABLED: false
|
||||||
KC_HOSTNAME_STRICT_HTTPS: false
|
KC_HOSTNAME_STRICT_HTTPS: true
|
||||||
KC_HEALTH_ENABLED: true
|
KC_HEALTH_ENABLED: true
|
||||||
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
|
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
|
||||||
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
|
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
|
||||||
KC_DB: postgres
|
KC_DB: postgres
|
||||||
KC_DB_URL: jdbc:postgresql://{{database_host}}/{{database_name}}
|
KC_DB_URL: jdbc:postgresql://{{database_host}}/{{database_name}}
|
||||||
KC_DB_USERNAME: {{database_username}}
|
KC_DB_USERNAME: {{database_username}}
|
||||||
KC_DB_PASSWORD: {{database_password}}
|
KC_DB_PASSWORD: {{database_password}}
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:{{http_port}}:8080"
|
- "127.0.0.1:{{http_port}}:8080"
|
||||||
restart: always
|
restart: {{docker_restart_policy}}
|
||||||
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
|
|
||||||
|
@ -18,9 +18,9 @@ services:
|
|||||||
- MOODLE_SITE_NAME="{{moodle_site_name}}"
|
- MOODLE_SITE_NAME="{{moodle_site_name}}"
|
||||||
- MOODLE_SSLPROXY=yes
|
- MOODLE_SSLPROXY=yes
|
||||||
- MOODLE_REVERSE_PROXY=yes
|
- MOODLE_REVERSE_PROXY=yes
|
||||||
- MOODLE_USERNAME={{moodle_user_name}}
|
- MOODLE_USERNAME={{moodle_administrator_name}}
|
||||||
- MOODLE_PASSWORD={{moodle_user_password}}
|
- MOODLE_PASSWORD={{moodle_user_password}}
|
||||||
- MOODLE_EMAIL={{moodle_user_email}}
|
- MOODLE_EMAIL={{moodle_administrator_email}}
|
||||||
- BITNAMI_DEBUG={% if mode_debug | bool %}true{% else %}false{% endif %}
|
- BITNAMI_DEBUG={% if mode_debug | bool %}true{% else %}false{% endif %}
|
||||||
volumes:
|
volumes:
|
||||||
- 'moodle:/bitnami/moodle'
|
- 'moodle:/bitnami/moodle'
|
||||||
|
@ -15,8 +15,8 @@ services:
|
|||||||
YOURLS_DB_PASS: "{{database_password}}"
|
YOURLS_DB_PASS: "{{database_password}}"
|
||||||
YOURLS_DB_NAME: "{{database_name}}"
|
YOURLS_DB_NAME: "{{database_name}}"
|
||||||
YOURLS_SITE: "https://{{domain}}"
|
YOURLS_SITE: "https://{{domain}}"
|
||||||
YOURLS_USER: "{{yourls_user}}"
|
yourls_administrator_name: "{{yourls_administrator_name}}"
|
||||||
YOURLS_PASS: "{{yourls_user_password}}"
|
YOURLS_PASS: "{{yourls_administrator_name_password}}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://127.0.0.1/admin/"]
|
test: ["CMD", "curl", "-f", "http://127.0.0.1/admin/"]
|
||||||
interval: 1m
|
interval: 1m
|
||||||
|
Loading…
x
Reference in New Issue
Block a user