Commit Graph

15650 Commits

Author SHA1 Message Date
DariusIII d563446acc Merge pull request #1679 from PyRowMan/dockerfilev2
Fix healthcheck failing when not using 80 default port
2024-12-27 12:01:19 +01:00
PyRowMan 2dd5f3833d Merge branch 'NNTmux:master' into dockerfilev2 2024-12-27 11:57:13 +01:00
DariusIII 8b1378139b CS fixes 2024-12-27 10:12:33 +01:00
DariusIII e4cf92400c Exclude contact and password reset pages to csrf exclude list 2024-12-27 10:11:50 +01:00
PyRowMan c95c1f83ed Update Dockerfile to use dynamic APP_PORT for server configuration 2024-12-27 01:18:38 +01:00
PyRowMan 5cf4f48477 Update healthcheck to use APP_PORT environment variable
Replace hardcoded port 80 with APP_PORT variable for better flexibility.
2024-12-27 01:11:04 +01:00
DariusIII 2c5ae82e8c Merge pull request #1672 from PyRowMan/dockerfilev2
Add a prod Dockerfile
2024-12-26 21:19:17 +01:00
DariusIII abf8bc2440 Merge branch 'master' into dockerfilev2 2024-12-26 21:14:17 +01:00
DariusIII 20effc14d5 Update used packages to their latest versions 2024-12-26 21:11:06 +01:00
DariusIII eac586e1d5 Merge pull request #1678 from PyRowMan/fix-installation
Update config and paths for tmp unzip and unrar handling
2024-12-26 10:25:18 +01:00
DariusIII 29d758f761 Merge pull request #1677 from PyRowMan/patch-3
This one should solve the scrutinizer build
2024-12-24 15:10:42 +01:00
PyRowMan b0b921b847 Merge branch 'master' into patch-3 2024-12-24 14:11:43 +01:00
PyRowMan 4774becf20 Update PHP version in Scrutinizer config to 8.3.3 2024-12-24 14:11:14 +01:00
DariusIII 8ebddcc0c3 Update scrutinizer config 2024-12-22 23:49:03 +01:00
DariusIII 37039bc88d Update supported PHP to 8.3 and up 2024-12-22 23:46:21 +01:00
DariusIII fc03c3f032 Update used packages to their latest versions 2024-12-22 20:53:00 +01:00
PyRowMan 19687cfaef Update config and paths for tmp unzip and unrar handling 2024-12-20 17:55:54 +01:00
PyRowMan fc060fd1db Refactor paths and add support for Manticore initialization 2024-12-20 17:00:22 +01:00
PyRowMan 513a1ff281 Add custom PHP configuration to Dockerfile 2024-12-20 15:33:10 +01:00
PyRowMan b084d479e9 Moving environment variables into .env.dist and .env.example 2024-12-20 15:32:37 +01:00
PyRowMan b0c5634e10 Moving environment variables into .env.dist and .env.example 2024-12-20 15:32:17 +01:00
PyRowMan 6530cb3899 Merge remote-tracking branch 'origin/master' into dockerfilev2 2024-12-20 12:31:25 +01:00
PyRowMan 546027af7a Update .gitignore to include .php-cs-fixer.cache
Added .php-cs-fixer.cache to ignore list for better tooling support.
2024-12-20 12:27:56 +01:00
PyRowMan acb5b29885 Update Docker image references and improve install script setup 2024-12-20 12:26:05 +01:00
PyRowMan 5bf170bd25 Update Scrutinizer image to default-jammy 2024-12-20 11:58:35 +01:00
PyRowMan 5d04f41786 Update Scrutinizer config to use 'bionic' image
Changed the 'image' value in the .scrutinizer.yml file from 'default-bionic' to 'bionic' for compatibility or simplification. Ensured other configurations remain unchanged.
2024-12-20 11:56:55 +01:00
PyRowMan 4b48429799 Add conditional cache logic, folder creation, and PHP extensions
Introduced a conditional check in the entrypoint script to only clear caches if the install lock is missing and added logic to create necessary folder structures. Updated Laravel-specific post-installation steps to include extended permission settings. Enhanced the Dockerfile by including the Imagick PHP extension and updated `.dockerignore` to exclude additional storage directories.
2024-12-20 11:54:37 +01:00
PyRowMan 87fbead2a3 This one should solve the scrutinizer build 2024-12-20 11:41:33 +01:00
DariusIII 3fe5525e14 Merge pull request #1676 from PyRowMan/patch-2
Remove PHP 8.2 test since it's no longer compatible
2024-12-20 11:38:13 +01:00
PyRowMan 54bd0dc3bb Remove PHP 8.2 test since it's no longer compatible 2024-12-20 11:11:53 +01:00
DariusIII 450855443d Update used packages to their latest versions 2024-12-20 11:08:32 +01:00
vcorre 0037ab6e73 Add Elasticsearch index creation and population to entrypoint
This update ensures the Elasticsearch indexes are created and populated during container startup. It improves initial setup automation by running relevant Artisan commands to handle data indexing and predb population seamlessly.
2024-12-19 15:27:49 +01:00
vcorre 93d64efe19 Fix spacing issue in docker-compose.yml command block
Removed an unnecessary space in the schedule runner command. This change ensures consistency in formatting and avoids potential errors during script execution. No functional behavior is affected.
2024-12-19 14:23:47 +01:00
vcorre cbf63acc6b Refactor .env file creation in docker entrypoint
Moved .env file creation logic to execute earlier in the script for better clarity and structure. Ensures .env is generated before running subsequent commands, improving maintainability.
2024-12-19 12:36:59 +01:00
PyRowMan 0142267f27 Add Manticore service to docker-compose.yml
Integrates Manticore search as a new service in the Docker Compose configuration. Configures ports, environment variables, resource limits, and volume mapping for Manticore. Ensures compatibility with the existing network and infrastructure.
2024-12-18 12:02:02 +01:00
PyRowMan 96b95dc6ee Add .env.dist, Manticore service, and environment substitution
Introduced a new `.env.dist` template to streamline environment variable management. Added Manticore service to the `docker-compose.yml` for enhanced database querying support. Updated `docker-entrypoint.sh` to use `envsubst` for environment substitution when generating `.env`.
2024-12-18 12:01:54 +01:00
PyRowMan 8c1a6f4cd8 Merge branch 'master' into dockerfilev2 2024-12-18 11:00:05 +01:00
PyRowMan 5a7ab28513 Refactor Docker setup to clean up dependencies and configs
Removed unnecessary packages, environment variables, and Sail-specific configurations. Replaced "sail" with "nntmux" for images, networks, and volumes. Simplified the setup by removing unused tests and redundant configurations.
2024-12-18 10:57:10 +01:00
DariusIII 5adf08d772 Merge pull request #1673 from PyRowMan/tmux-fix
Fix error on some tmux windows by disabling highlight for active tmux…
2024-12-18 10:54:45 +01:00
DariusIII c6fe4b6bba Merge pull request #1674 from PyRowMan/fix-api-search
Fix conditional check for release object in API controller
2024-12-18 10:54:06 +01:00
DariusIII 07171fac07 Merge pull request #1675 from NNTmux/shift-ci-v11.36.1
Laravel 11.36.1 Shift
2024-12-18 10:53:18 +01:00
Shift 29fafeb3ed composer update 2024-12-18 00:44:34 +00:00
PyRowMan c5249c9de9 Fix conditional check for release object in API controller
Previously, the condition did not account for cases where `$rel` could be null, potentially causing an error. This update ensures the check validates that `$rel` exists before calling the `isNotEmpty()` method.
2024-12-17 22:36:51 +01:00
PyRowMan d38077b1b0 Fix error on some tmux windows by disabling highlight for active tmux window background.
Commented out the configuration line setting a red background for active windows. This change removes the highlight to provide a more neutral and cleaner appearance.
2024-12-17 22:36:14 +01:00
PyRowMan 0cc01331f2 Add Docker setup with Dockerfile, docker-compose, and entrypoint
This commit introduces a Dockerized environment for the application, including a Dockerfile, docker-compose.yml, and a custom entrypoint script. The setup supports multiple services like MariaDB, Redis, and Elasticsearch, with health checks and environment configurations. It also automates dependency installation, environment setup, and Laravel-specific tasks like caching and installation processes.
2024-12-17 22:35:33 +01:00
PyRowMan f01238fb5a Fix artisna optimize by adding an application logo blade component
Created a reusable Blade component for the application logo. This addition provides a consistent and maintainable way to display the logo in views.
2024-12-17 22:35:33 +01:00
PyRowMan 46bbfd4367 Add a "yes" option to skip confirmation prompts in install
This commit introduces a `--yes` option to the `nntmux:install` command, allowing users to skip confirmation prompts for a streamlined installation process. It also improves messaging and error handling, particularly around locked installs, and removes unnecessary usage of `Str` helper methods. These changes enhance usability and code simplicity.
2024-12-17 22:35:33 +01:00
DariusIII ebf82b4ad7 Merge pull request #1670 from NNTmux/shift-ci-v11.36.0
Laravel 11.36.0 Shift
2024-12-17 21:21:48 +01:00
Shift 537f793eb7 composer update 2024-12-17 20:17:15 +00:00
Shift 6d11159b73 Bump Laravel version constraint 2024-12-17 20:15:54 +00:00