Commit graph

12612 commits

Author SHA1 Message Date
Andras Bacsai
70d0ae2b33 docs(sync): create AI Instructions Synchronization Guide and update CLAUDE.md references
- Added a new document, `.AI_INSTRUCTIONS_SYNC.md`, detailing the organization and synchronization of AI instructions across CLAUDE.md and .cursor/rules/.
- Updated CLAUDE.md to include a note for AI assistants directing them to the new synchronization guide and emphasizing the importance of maintaining consistency.
- Enhanced `.cursor/rules/cursor_rules.mdc`, `README.mdc`, and other related files with cross-references to the synchronization guide for better clarity on maintaining documentation consistency.
2025-10-07 12:52:57 +02:00
Andras Bacsai
806b98a66d
Merge pull request #6784 from abdia3/fix/deployments-indicator-stacking
fix(ui): make the deployments indicator toast in the bottom-left above the sidebar
2025-10-07 12:51:01 +02:00
Andras Bacsai
cef3d3af5d feat(proxy): enhance proxy configuration regeneration by extracting custom commands
- Added a new function to extract custom proxy commands from existing Traefik configurations before regenerating the proxy configuration.
- Updated the proxy configuration generation logic to include these custom commands, ensuring they are preserved during regeneration.
- Introduced unit tests to validate the extraction of custom commands and handle various scenarios, including invalid YAML and different proxy types.
2025-10-07 11:11:13 +02:00
Andras Bacsai
2d371893e7 docs(tests): update testing guidelines for unit and feature tests
- Clarified execution rules for unit tests, emphasizing the use of mocking and the prohibition of database connections.
- Specified that unit tests can run outside Docker, while feature tests must run inside Docker with database access.
- Added design principles for testable code, promoting dependency injection and interface usage.
- Enhanced overall structure and clarity of testing documentation to improve developer understanding of testing strategies.
2025-10-07 11:11:03 +02:00
Andras Bacsai
ae64f8cb86 fix validation on a few views 2025-10-06 21:25:24 +02:00
Abdi Adem
26bc6edbed fix(ui): make the deployments indicator toast in the bottom-left above the sidebar 2025-10-06 18:30:56 +03:00
Andras Bacsai
141199b41f
Merge pull request #6764 from djsisson/bitnami
update bitnami to bitnamilegacy
2025-10-06 11:07:38 +02:00
Andras Bacsai
acf2d5f89b refactor(deployment): update environment variable handling for Docker builds
- Changed the .env file reference to use a build-time .env file located in /artifacts, preventing it from being included in Docker images.
- Introduced a new method to wrap Docker build commands with environment variable exports, enhancing the handling of build-time variables.
- Updated logging messages for clarity regarding the creation and usage of the build-time .env file.
2025-10-06 10:31:58 +02:00
Andras Bacsai
17505aa03b feat(application): add default NIXPACKS_NODE_VERSION environment variable for Nixpacks applications
- Introduced logic to automatically create a default NIXPACKS_NODE_VERSION environment variable when an application uses the 'nixpacks' build pack.
- Ensured the environment variable is configured with appropriate attributes for build-time usage.
2025-10-05 16:07:36 +02:00
Andras Bacsai
239ecd4056 fix dev only thingy 2025-10-05 11:39:22 +02:00
Andras Bacsai
06dfcff559 refactor(deployment): standardize environment variable handling in ApplicationDeploymentJob
- Replaced the use of a dynamic env_filename with a consistent .env file reference across deployment methods.
- Simplified the generation and saving of build-time and runtime environment variables, ensuring they are always written to the .env file.
- Enhanced clarity in the deployment process by removing redundant logic and ensuring environment variables are handled uniformly.
2025-10-04 19:19:15 +02:00
Andras Bacsai
4b947a0d64 refactor(deployment): enhance deployment data retrieval and relationships
- Updated the deployments method in DeploymentsIndicator to include application environment and project relationships for better data context.
- Refactored the application method in ApplicationDeploymentQueue to use Eloquent relationships instead of manual fetching, improving performance and readability.
- Enhanced the deployments indicator view to display application environment and project names, providing clearer deployment context.
2025-10-04 18:02:20 +02:00
Andras Bacsai
158747c8b1 refactor(deployment): streamline environment variable generation in ApplicationDeploymentJob
- Removed redundant logic for merging COOLIFY_* variables into env_args.
- Simplified the process of adding environment variables by directly incorporating generated COOLIFY environment variables.
- Enhanced clarity and maintainability of the generate_env_variables method.
2025-10-04 15:06:49 +02:00
Andras Bacsai
c14497303f fix(elasticsearch): update Elasticsearch and Kibana configuration for enhanced security and setup
- Removed unnecessary environment variables and added security settings for Elasticsearch and Kibana.
- Implemented password setup for the kibana_system user during the Kibana setup process.
- Updated healthcheck commands for both services to ensure proper monitoring and readiness.
- Introduced a new setup service for Kibana to streamline user password configuration.
2025-10-03 20:06:27 +02:00
Andras Bacsai
4cf600445a feat(service): add Elasticsearch password handling in extraFields method
- Implemented logic to retrieve and display the default user password for Elasticsearch in the extraFields method of the Service model.
- Enhanced data collection for environment variables related to Elasticsearch, improving service configuration management.
2025-10-03 20:05:43 +02:00
Andras Bacsai
b4cfb78f86 feat(storage): add read-only volume handling and UI notifications
- Introduced `isReadOnlyVolume` method in `LocalFileVolume` and `LocalPersistentVolume` models to determine if a volume is read-only based on Docker Compose configuration.
- Updated `FileStorage` and `Show` components to set `isReadOnly` state during mounting.
- Enhanced UI to display notifications for read-only volumes, preventing modification actions in the interface.
- Refactored file storage and directory management forms to conditionally enable or disable actions based on read-only status.
2025-10-03 20:05:43 +02:00
Andras Bacsai
0bc7283bd6
Merge pull request #6470 from ShadowArcanist/patch-1
feat(service): add Elasticsearch with Kibana (Closes issue #6449)
2025-10-03 20:05:18 +02:00
Darren Sisson
fb7af48b10
update bitnami to bitnamilegacy 2025-10-03 15:48:11 +01:00
Andras Bacsai
f0fbed8fc2
Merge branch 'next' into patch-1 2025-10-03 12:12:35 +02:00
Andras Bacsai
4b08ac9b6f
Merge pull request #6472 from saurabhraghuvanshii/allow-dep
[Enhancement]: allow deploy from container image hash
2025-10-03 12:10:39 +02:00
Andras Bacsai
9107fb2af5
Merge branch 'next' into allow-dep 2025-10-03 11:52:58 +02:00
Andras Bacsai
41a8ea870f feat(docker): refine Docker image processing in application creation
- Enhanced logic to process Docker image name and tag, including stripping 'sha256:' prefix and removing '@sha256' suffix.
- Implemented validation to check for valid SHA256 hashes and conditionally append '@sha256' to the image name.
- Defaulted the image tag to 'latest' if not provided, improving user experience and data integrity.
2025-10-03 11:49:20 +02:00
Andras Bacsai
7d99d6ad34 feat(docker): improve Docker image submission logic with enhanced parsing
- Added logic to strip 'sha256:' prefix and remove '@sha256' suffix from user input for image SHA256 and name.
- Updated image name handling to append '@sha256' when using a digest, ensuring correct formatting.
- Enhanced validation and parsing for Docker images to improve user experience and data integrity.
2025-10-03 11:42:29 +02:00
Andras Bacsai
590de8ce37 feat(docker): enhance Docker image handling with new validation and parsing logic
- Refactored DockerImage component to use separate properties for image name, tag, and SHA256 digest.
- Introduced DockerImageFormat validation rule to enforce correct image format.
- Updated DockerImageParser to handle new parsing logic for image tags and SHA256 hashes.
- Enhanced UI to separate input fields for image name, tag, and SHA256 digest, improving user experience.
- Added comprehensive tests for DockerImageParser to ensure accurate parsing and validation of image formats.
2025-10-03 11:31:00 +02:00
Andras Bacsai
0e02eff4a1
Merge branch 'v4.x' into allow-dep 2025-10-03 10:57:10 +02:00
Andras Bacsai
e17fbd3b56 refactor: update ente photos configuration for improved service management
- Enhanced environment variable configuration for the server and web services, including database and encryption settings.
- Updated health check intervals and retries for better reliability.
- Changed MinIO service configuration to use port 9000 and adjusted health checks accordingly.
- Improved volume management for data persistence.

These changes aim to streamline the deployment process and ensure better service health monitoring.
2025-10-03 10:47:55 +02:00
Andras Bacsai
ac40a65d41 fix: ente photos 2025-10-03 10:35:16 +02:00
github-actions[bot]
d2254f6d18 docs: update changelog 2025-10-03 10:35:16 +02:00
github-actions[bot]
ee7daca284 docs: update changelog 2025-10-03 10:35:16 +02:00
github-actions[bot]
3020ad3b8c docs: update changelog 2025-10-03 10:35:16 +02:00
github-actions[bot]
f3e8963bd1 docs: update changelog 2025-10-03 10:35:16 +02:00
Vishwanath Martur
fd752377d2 Fix MinIO image and health check to match Coolify standards
- Change MinIO image from 'minio/minio:latest' to 'quay.io/minio/minio:latest'
  This matches the official Coolify MinIO template for consistency
- Update health check from curl-based to 'mc ready local' command
  This is more reliable and matches the official MinIO template
- Update health check intervals and retries to match official template
  (interval: 5s, timeout: 20s, retries: 10)
- Update service templates JSON files with corrected configuration

Addresses @devdilson's feedback about MinIO configuration consistency
with existing Coolify templates and best practices.
2025-10-03 10:35:16 +02:00
Vishwanath Martur
ae3ea6ed92 Restore docker-compose.dev.yml file
- Restore docker-compose.dev.yml to original state as requested by @Cinzya
- File should not be deleted, just reverted to original state
- Addresses reviewer feedback about keeping the file intact
2025-10-03 10:35:16 +02:00
Vishwanath Martur
d9d82d5cc4 Delete docker-compose.dev.yml 2025-10-03 10:35:16 +02:00
Vishwanath Martur
886eaf563b Address reviewer feedback: Fix MinIO endpoint and add admin permissions
- Fix MinIO endpoint configuration to use SERVICE_URL_MINIO_3200 for public access
  This resolves the issue with signed URLs for photo uploads as noted by @devdilson
- Add ENTE_INTERNAL_ADMIN environment variable to grant first account admin permissions
  This prevents the 10GB storage limit issue mentioned in the review
- Update service templates JSON files with the corrected configuration
- Ensure MinIO service has proper SERVICE_URL configuration for external access

Addresses all feedback from @devdilson's review comments:
- Fixes signed URL access for photo uploads
- Grants admin permissions to first account
- Maintains proper service architecture for Coolify deployment
2025-10-03 10:35:16 +02:00
Vishwanath Martur
0d7914c71a Use official Ente Photos icon design
- Update SVG logo to match the official Ente Photos PNG icon
- Based on the official icon from public/ente-photos-icon-green.png
- Maintain official Ente green gradient colors (#00D4AA to #00A693)
- Improve 'e' letterform to match official Ente branding more closely
- Ensure consistency with official Ente Photos visual identity

Addresses reviewer feedback to use official logo instead of custom design
2025-10-03 10:35:16 +02:00
Vishwanath Martur
f16fdc7fdf Update Ente Photos logo to match official branding
- Replace custom camera-based logo with official Ente-inspired design
- Use official Ente green color scheme (#00D4AA to #00A693)
- Implement simplified 'e' letter design matching Ente brand identity
- Remove docker-compose.dev.yml changes as requested in PR review

Addresses feedback from PR review #6515
2025-10-03 10:35:16 +02:00
Vishwanath Martur
35a1d7cdab Add Ente Photos service template files
- Add ente-photos.yaml template with museum, postgres, and minio services
- Add custom SVG logo for Ente Photos
- Update service templates JSON files with new template
2025-10-03 10:35:16 +02:00
Vishwanath Martur
75f590bc81 feat: Add Ente Photos service template
- Add Ente Photos service template with museum server, PostgreSQL, and MinIO
- Include complete Docker Compose configuration with health checks
- Add custom SVG logo for Ente Photos service
- Support for end-to-end encrypted photo storage alternative to Google Photos
- Auto-generate service templates JSON with proper categorization
- Fix docker-compose.dev.yml network configuration for coolify service

Resolves #6501
2025-10-03 10:35:16 +02:00
github-actions[bot]
b4f2d8caf1 docs: update changelog 2025-10-03 08:32:39 +00:00
Andras Bacsai
765c62b195
Merge pull request #6515 from vishwamartur/feature/add-ente-photos-service-template
feat: Add Ente Photos service template
2025-10-03 10:32:17 +02:00
Andras Bacsai
bcd7d399bc
Merge branch 'v4.x' into feature/add-ente-photos-service-template 2025-10-03 10:30:46 +02:00
Andras Bacsai
50383c7a35 chore(versions): update Coolify version numbers to 4.0.0-beta.435 and 4.0.0-beta.436
- Incremented the stable version in constants.php and versions.json to 4.0.0-beta.435.
- Updated the nightly version in versions.json and other/nightly/versions.json to 4.0.0-beta.436.
- Ensured consistency across versioning files for the latest release.
2025-10-03 10:28:29 +02:00
Andras Bacsai
4b0f65c926 refactor(environment-variables): adjust ordering logic for environment variables
- Updated the ordering logic in the environment_variables methods for both Application and Service models to prioritize required variables over service-prefixed keys.
- This change enhances the clarity and organization of environment variable retrieval, ensuring that essential variables are listed first.
2025-10-03 10:28:29 +02:00
Andras Bacsai
11c43b54a3
Merge pull request #6511 from thesloppyguy/feat/ente
Feat: Ente Template
2025-10-03 10:27:24 +02:00
github-actions[bot]
b474eb411d docs: update changelog 2025-10-03 07:42:51 +00:00
Andras Bacsai
390f6337fe
Merge pull request #6757 from coollabsio/next
feat(deployments): generate SERVICE_NAME environment variables from Docker Compose services
2025-10-03 09:42:29 +02:00
Andras Bacsai
f8e97501ce feat(deployments): generate SERVICE_NAME environment variables from Docker Compose services
- Added functionality to generate environment variables for each service defined in the Docker Compose file, transforming service names into uppercase and replacing special characters.
- Updated the service parser to merge these generated variables with existing environment variables, enhancing deployment configuration.
2025-10-03 09:41:59 +02:00
github-actions[bot]
d7819bef93 docs: update changelog 2025-10-03 07:28:58 +00:00
Andras Bacsai
a1cce8a8d3
Merge pull request #6755 from coollabsio/next
v4.0.0-beta.434
2025-10-03 09:28:32 +02:00