40 Commits

Author SHA1 Message Date
eb3bb297b9 Update URLs to use raw.githubusercontent.com for downloads
Switched from git.vdm.dev to raw.githubusercontent.com for fetching [octojoom] and related scripts. This ensures wider accessibility and consistency with GitHub's standard hosting practices. Updated references in the script and README accordingly.Update URLs to use raw.githubusercontent.com for downloads

Switched from git.vdm.dev to raw.githubusercontent.com for fetching [octojoom] and related scripts. This ensures wider accessibility and consistency with GitHub's standard hosting practices. Updated references in the script and README accordingly.
2025-02-26 11:38:38 +02:00
05660f568c Update remote .env handling and set version to 3.7.1
Refactor remote .env file access to use the remote user's home directory for improved reliability. Adjust comments for clarity and ensure consistent handling of tilde expansion remotely. Increment version to 3.7.1 to reflect these changes.
2025-02-26 11:26:10 +02:00
5ceddb1c71 Add network configuration option in expert mode menu
Introduced a new menu option for setting network configurations when in expert mode. Updated menu handling logic to include this new option and integrated the corresponding function call.
2024-10-24 00:58:27 +02:00
1cc718832a Add conditional handling for environment files in docker-compose
Modified the script to conditionally check for the presence of environment files associated with each Docker image before bringing the containers down. This ensures that if an environment file exists, it is used with docker-compose, providing a more flexible and robust container management process.
2024-10-24 00:50:24 +02:00
7837d8ecd4 Update to version 3.7.0 and refactor prompt handling functions
Updated _VERSION to 3.7.0 and replaced whiptail-based yes/no prompts with getInputYesNo function. Added VDM_FORCE flag for automated confirmations.
2024-10-23 02:36:21 +02:00
593ae84c89 Update version to 3.6.4 and improve env file detection
Incremented the version number from 3.6.3 to 3.6.4. Added local variable initialization for evn_file and improved the logic to detect and use environment files for Docker Compose commands in various disable functions. This ensures the correct .env file is used if present.
2024-09-18 02:30:50 +02:00
962b1628c2 Update Joomla SMTP host port number #11
The port number for the JOOMLA_SMTP_HOST has been updated from 1080 to 1025. This change has been made in two places in the code - under VDM_EXTRA_JOOMLA_ENV. This will correct the SMTP settings and ensure emails from Joomla are correctly routed through the mailcatcher service.
2024-06-13 14:24:06 +02:00
b666db9f33 Add functionality to clone containers and volumes #9
The commit introduces a new feature that allows users to clone both containers and volumes. Functions have been added to facilitate the cloning process, including joomla__TRuST__clone, cloneContainer, and clonePersistentVolume. Adjustments have also been made in the main program to include this new cloning option into the interactive menu.
2024-06-13 14:22:12 +02:00
ed147ece9e Update OctoJoom version and improve password validation #10
The OctoJoom version was updated to 3.6.2. Changes were also made to the password validation process to increase the minimum required length of the password from 4 to 11 characters for the correct error message.
2024-06-01 15:23:19 +02:00
8cf856b35e Set LC_ALL to C in octojoom script #10
This commit sets the enviroment variable LC_ALL to 'C' in the octojoom script. This ensures the use of ASCII character set and standardizes behavior across different environments for consistency.
2024-06-01 15:17:05 +02:00
1a83002c9d Add automatic whiptail installation and error notices for missing software dependencies #8
This commit modifies the script to automatically install 'whiptail' on Linux, macOS, and Windows if it's not already installed. It also adds error notices instructing the user to install other software dependencies if they're missing. This makes the script more user-friendly and reduces the likelihood of script failure due to missing dependencies.
2024-06-01 15:15:42 +02:00
e627e7f4cd Remove Docker Compose version from YML files and set networks to external
The Docker Compose version definition was removed from traefikContainer, portainerContainer, and opensshContainer functions. The "external" attribute was also added to "traefik" and "openssh" networks. These changes aim to improve the versatility and compatibility of network settings and remove unnecessary version constraints.
2024-06-01 15:11:16 +02:00
eaa5b217c8 Update shebang for shell compatibility #6
Changed the shebang in the octojoom script. This change improves portability by allowing the script to run in environments where /bin/bash may not be available.
2024-06-01 15:08:38 +02:00
b7973a0011 We want the function to be called function. 2024-05-27 10:03:36 +02:00
0d2649601a Add better host management for OSs 2024-05-27 09:58:41 +02:00
9566019630 Add MACOS and WIN compatibility. 2024-05-27 09:36:24 +02:00
2ca0fc61ce Add reset volume feature to Joomla 2024-05-14 09:41:39 +02:00
69f00e830e Add option to install Joomla extensions via env value. 2024-05-10 20:21:41 +02:00
42c85ba582 Add bash logo, written by, linted by to README. 2024-03-20 16:33:22 +02:00
67d808b40a Fix typo on VDM_max_input_vars. 2024-03-08 13:30:59 +02:00
0b01021137 Add max_input_vars to the php settings 2024-03-08 13:26:52 +02:00
81af237052 remove underscore from container names. 2024-02-22 14:32:09 +02:00
fad4a7cf6e Removed the " from around the name and site name in autodeploy. 2024-02-19 19:53:03 +02:00
7aa661aea4 Set default Joomla to 5.0 2024-01-29 07:58:25 +02:00
f6d35ae9f7 Adds --remove-orphans flag to down command, incase the yaml file changed 2023-09-13 14:38:02 +02:00
4092c4beb5 adds cloudflare secure switch. 2023-08-25 10:58:59 +02:00
af87697943 Adds bulk deploy. Adds auto deploy options. 2023-08-24 19:56:02 +02:00
99d95c4d84 Adds option to migrate containers, and folders to remote hosts. 2023-05-05 18:59:10 +02:00
603804af74 Fix traefik acme.json creation error. 2023-03-14 15:45:09 +02:00
ea1ff59177 Adds installation options for Docker and Docker-Compose. Fix network warning issue. 2023-02-22 13:47:32 +02:00
5255b7bb25 Expert mode required to set user:group ID. 2022-01-27 16:45:36 +02:00
fedcfc7c4f Updates the showProgress notice commands. 2022-01-03 14:24:53 +02:00
76db2f477b Makes the docker network values changeable. 2021-12-31 12:31:54 +02:00
2918326c8c Adds set network to first run. 2021-12-31 12:11:11 +02:00
6a27e23f02 Adds the subnets to the networks setup for docker. 2021-12-31 12:04:00 +02:00
e55f4a31bc Adds setImageSource function for better image source selection options. Improves the persistence volumes implementation for Joomla containers. Improves the progress bar area to work more accurately. Adds expert option to tweak the PHP settings of a container. Adds option to customize the entrypoint.sh of your container. 2021-12-30 22:17:11 +02:00
9535c3b74d Adds Expert mode. Improves the menu flow. Adds none persistence volume option in expert mode. Improves the directory fix with progress bar. Adds easy fist run path. 2021-12-28 12:53:42 +02:00
a1f7c8fa39 Adds option to set container user ID when needed in both Joomla and Openssh containers. 2021-12-26 16:27:10 +02:00
e4a4714b0a Adds the option to select the octoleo images. 2021-12-24 09:54:59 +02:00
66d20ef68d added ubuntu only notice to readme 2021-07-21 21:34:01 +02:00
2 changed files with 3024 additions and 358 deletions

View File

@ -1,4 +1,9 @@
# Octojoom - Easy Docker Deployment
<h2><img align="middle" src="https://raw.githubusercontent.com/odb/official-bash-logo/master/assets/Logos/Icons/PNG/64x64.png" >
Octojoom - Easy Joomla! Docker Deployment
</h2>
Written by Llewellyn van der Merwe (@llewellynvdm)
With this script we can easily deploy docker containers of Joomla and Openssh. This combination of these tools give rise to a powerful and very secure shared development environment.
This program has **command input** options as seen in the menus below, but these command are _not the only way_ to set these values.
@ -8,10 +13,14 @@ There are more than one .env file and the script will set those up for you whene
the script will check if those values exist, and if they don't it will ask for them, and store them automatically for future use.
That same time the output message to the terminal will show you where the specific .env file can be found.
Linted by [#ShellCheck](https://github.com/koalaman/shellcheck)
> program only for ubuntu/debian systems at this time (should you like to use it on other OS's please open and issue...)
---
# Install
```shell
$ sudo curl -L "https://git.vdm.dev/api/v1/repos/octoleo/octojoom/raw/src/octojoom" -o /usr/local/bin/octojoom
$ sudo curl -L "https://raw.githubusercontent.com/octoleo/octojoom/refs/heads/master/src/octojoom" -o /usr/local/bin/octojoom
$ sudo chmod +x /usr/local/bin/octojoom
```
@ -86,8 +95,8 @@ Usage: octojoom [OPTION...]
======================================================
-j|--joomla-version <version-tag>
see available tags here https://hub.docker.com/_/joomla
example: octojoom -j=3.10
example: octojoom --joomla-version=3.10
example: octojoom -j=5.0
example: octojoom --joomla-version=5.0
======================================================
AVAILABLE FOR OPENSSH CONTAINER
======================================================

File diff suppressed because it is too large Load Diff