Compare commits
14
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b997bb8bd | ||
|
|
b1a46f7352 | ||
|
|
1717a38baa | ||
|
|
cb837fcb95 | ||
|
|
64cb869961 | ||
|
|
202f371d30 | ||
|
|
d314e494ff | ||
|
|
ec49e12b52 | ||
|
|
0c829b2c3b | ||
|
|
668d8301f0 | ||
|
|
ea9e9162c9 | ||
|
|
f6410f9239 | ||
|
|
139f62e48e | ||
|
|
a698319d73 |
@@ -4,13 +4,13 @@ Learning Management System (LMS)
|
|||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
|
|
||||||
* **Maintainer**: [@stevensting](https://git.coopcloud.tech/stevensting) (Klasse & Methode)
|
* **Maintainer**: [@stevensting](https://git.coopcloud.tech/stevensting)
|
||||||
* **Category**: Learning
|
* **Category**: Learning
|
||||||
* **Status**: 3, stable
|
* **Status**: 0, development
|
||||||
* **Image**: [`php`](https://hub.docker.com/_/php), 4, upstream
|
* **Image**: [`php`](https://hub.docker.com/_/php), 4, upstream
|
||||||
* **Healthcheck**: yes
|
* **Healthcheck**: no
|
||||||
* **Backups**: yes
|
* **Backups**: no
|
||||||
* **Email**: yes
|
* **Email**: no
|
||||||
* **Tests**: no
|
* **Tests**: no
|
||||||
* **SSO**: no
|
* **SSO**: no
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ Learning Management System (LMS)
|
|||||||
4. `abra app deploy YOURAPPDOMAIN`
|
4. `abra app deploy YOURAPPDOMAIN`
|
||||||
- attention: installing all packages and php extensions necessary can take a couple of minutes. Therefore container `frontend` and it's healthcheck will stay in status `starting` that long.
|
- attention: installing all packages and php extensions necessary can take a couple of minutes. Therefore container `frontend` and it's healthcheck will stay in status `starting` that long.
|
||||||
|
|
||||||
## Adding more settings to the env-file
|
## Maintainers: Adding more settings to the env-file
|
||||||
|
|
||||||
Almost all of moddles config can be set via the php file config-dist.php.tmpl. Only few are already in there, so check moodles docs if you need more. But not even the docs list all possible parameters.
|
Almost all of moddles config can be set via the php file config-dist.php.tmpl. Only few are already in there, so check moodles docs if you need more. But not even the docs list all possible parameters.
|
||||||
Please put additional settings in the coop cloud section in the file.
|
Please put additional settings in the coop cloud section in the file.
|
||||||
+2
-3
@@ -37,9 +37,9 @@ services:
|
|||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
order: start-first
|
order: start-first
|
||||||
labels:
|
labels:
|
||||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+5.1-latest"
|
- "coop-cloud.${STACK_NAME}.version=0.0.1"
|
||||||
frontend:
|
frontend:
|
||||||
image: nginx:1.29-alpine
|
image: nginx:1.20-alpine
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- backend
|
- backend
|
||||||
@@ -67,7 +67,6 @@ services:
|
|||||||
- STACK_NAME
|
- STACK_NAME
|
||||||
- ROOT_PATH=/var/www/html/public
|
- ROOT_PATH=/var/www/html/public
|
||||||
- DOMAIN
|
- DOMAIN
|
||||||
- MAX_BODY_SIZE=${MAX_BODY_SIZE:-256M}
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost"]
|
test: ["CMD", "curl", "-f", "http://localhost"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
+1
-2
@@ -37,8 +37,7 @@ chmod 0777 /var/www/moodledata
|
|||||||
chown www-data /var/www/html/
|
chown www-data /var/www/html/
|
||||||
cd /var/www/html/admin/cli
|
cd /var/www/html/admin/cli
|
||||||
sudo -E -u www-data php install_database.php --agree-license --fullname="{{ env "MOODLE_FULLNAME" }}" \
|
sudo -E -u www-data php install_database.php --agree-license --fullname="{{ env "MOODLE_FULLNAME" }}" \
|
||||||
--shortname="{{ env "MOODLE_SHORTNAME" }}" --adminuser="{{ env "MOODLE_ADMINNAME" }}" --adminpass=$(cat /run/secrets/admin_password) \ --adminemail="{{ env "MOODLE_ADMINMAIL" }}" --summary="{{ env "MOODLE_SUMMARY" }}" --supportemail="{{ env "MOODLE_SUPPORTMAIL" }}" \
|
--shortname="{{ env "MOODLE_SHORTNAME" }}" --adminuser="{{ env "MOODLE_ADMINNAME" }}" --adminpass=$(cat /run/secrets/admin_password) --adminemail="{{ env "MOODLE_ADMINMAIL" }}" --summary="{{ env "MOODLE_SUMMARY" }}" --supportemail="{{ env "MOODLE_SUPPORTMAIL" }}"
|
||||||
--lang={{ env "MOODLE_LANGUAGE"}}
|
|
||||||
chown -R root /var/www/html/
|
chown -R root /var/www/html/
|
||||||
|
|
||||||
echo "Installation finished..."
|
echo "Installation finished..."
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ server {
|
|||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
client_max_body_size {{ env "MAX_BODY_SIZE" }};
|
|
||||||
|
|
||||||
root {{ env "ROOT_PATH" }};
|
root {{ env "ROOT_PATH" }};
|
||||||
|
|
||||||
#charset koi8-r;
|
#charset koi8-r;
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
first release, everything tested and assumed to be working. now with correct moodle version number.
|
|
||||||
Reference in New Issue
Block a user