From 8fa5da1dc4668121a1fd80014c61daf9a5306ff0 Mon Sep 17 00:00:00 2001 From: schuer Date: Sun, 6 Oct 2024 13:50:06 +0200 Subject: [PATCH 1/3] docs: info about redaxo being auto-installed --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d4dcbaa..d4b4d19 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,8 @@ If youโ€™re not sure, you probably want to go for `friendsofredaxo/redaxo:5` ## Environment variables +๐Ÿค– **REDAXO is auto-installed** within the container if the web root is empty and all required environment variables are provided. + System settings: * **`REDAXO_SERVER`** From 5718be496b021865fa036546a4c45b4712041844 Mon Sep 17 00:00:00 2001 From: schuer Date: Sun, 6 Oct 2024 13:50:24 +0200 Subject: [PATCH 2/3] docs: remove obsolete version from docker-compose.yml --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index d4b4d19..6dfa0cc 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,6 @@ $ docker run \ Example for REDAXO container with MariaDB container: ```yml -version: '3' services: redaxo: From b18d7924c9df758d080a86ff7281a733fcf235da Mon Sep 17 00:00:00 2001 From: schuer Date: Sun, 6 Oct 2024 13:50:37 +0200 Subject: [PATCH 3/3] docs: extend REDAXO setup via `custom-setup.sh` script --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6dfa0cc..8dc5da8 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,16 @@ volumes: db: ``` + +## Extend REDAXO setup via `custom-setup.sh` script ๐Ÿš€ + +After REDAXO has been successfully installed, a `/usr/local/bin/custom-setup.sh` script is executed, if it is available. This can be quite useful for pre-installing REDAXO addOns, updating configuration or further customizing the environment. + +For example, our [website demos](https://github.com/FriendsOfREDAXO/docker-demos) make use of it to auto-install demo packages via CLI. See [`custom-setup.sh`](https://github.com/FriendsOfREDAXO/docker-demos/blob/main/images/base/custom-setup.sh) of the base demo, copied via [`Dockerfile`](https://github.com/FriendsOfREDAXO/docker-demos/blob/main/images/base/Dockerfile) into the container. + +Also, a working recipe: [REDAXO + custom setup with pre-installed addons](https://github.com/FriendsOfREDAXO/docker-redaxo/tree/main/recipes/custom-setup-with-addons) + + ## Recipes ๐Ÿง See [recipes](https://github.com/FriendsOfREDAXO/docker-redaxo/tree/main/recipes) section for further examples!