20 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
2 changed files with 793 additions and 200 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,12 +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
```

File diff suppressed because it is too large Load Diff