mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized variables, configuration and role moodle
This commit is contained in:
4
roles/docker-moodle/README.md
Normal file
4
roles/docker-moodle/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# role docker-moodle
|
||||
|
||||
## further information
|
||||
- https://github.com/bitnami/containers/tree/main/bitnami/moodle
|
@@ -4,14 +4,21 @@ services:
|
||||
moodle:
|
||||
image: docker.io/bitnami/moodle:latest
|
||||
ports:
|
||||
- '80:8080'
|
||||
- '443:8443'
|
||||
- 127.0.0.1:{{http_port}}:80
|
||||
environment:
|
||||
- MOODLE_DATABASE_HOST={{database_host}}
|
||||
- MOODLE_DATABASE_PORT_NUMBER=3306
|
||||
- MOODLE_DATABASE_USER={{database_username}}
|
||||
- MOODLE_DATABASE_NAME={{database_name}}
|
||||
- MOODLE_DATABASE_PASSWORD={{database_password}}
|
||||
- ALLOW_EMPTY_PASSWORD=no
|
||||
- MOODLE_SITE_NAME="{{moodle_site_name}}"
|
||||
- MOODLE_SSLPROXY=yes
|
||||
- MOODLE_REVERSE_PROXY=yes
|
||||
- MOODLE_USERNAME={{moodle_user_name}}
|
||||
- MOODLE_PASSWORD={{moodle_user_password}}
|
||||
- MOODLE_EMAIL={{moodle_user_email}}
|
||||
- BITNAMI_DEBUG={% if mode_debug | bool %}true{% else %}false{% endif %}
|
||||
volumes:
|
||||
- 'moodle:/bitnami/moodle'
|
||||
- 'data:/bitnami/moodledata'
|
||||
|
Reference in New Issue
Block a user