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
Darren Sisson
fb7af48b10
update bitnami to bitnamilegacy
2025-10-03 15:48:11 +01: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
Andras Bacsai
aadde3a83e
feat(deployments): enhance Docker build argument handling for multiline variables
...
- Introduced new helper functions to generate Docker build arguments and environment flags, accommodating multiline variables with proper escaping.
- Updated the ApplicationDeploymentJob to utilize these new functions, improving the handling of environment variables during deployment.
- Added comprehensive tests to ensure correct behavior for multiline variables and special characters.
2025-10-02 13:54:36 +02:00
Andras Bacsai
a03c1b3b4b
refactor(dashboard): remove deployment loading logic and introduce DeploymentsIndicator component for better UI management
2025-09-30 11:43:30 +02:00
Sepcnt
dcca834113
Merge branch 'next' into next
2025-09-25 20:42:54 +08:00
Andras Bacsai
708a08fdd6
fix(application): enhance domain handling by replacing both dots and dashes with underscores for HTML form binding
2025-09-25 13:19:12 +02:00
Andras Bacsai
36dfd1bc6e
refactor(github): enhance API request handling and validation
...
- Updated validation rules for 'custom_user' and 'custom_port' fields to be nullable in the GithubController.
- Refactored API request handling in GithubController, GithubPrivateRepository, and helper functions to use a consistent Http::GitHub method with timeout and retry logic.
- Improved error handling for repository and branch loading processes.
2025-09-22 15:41:56 +02:00
Andras Bacsai
b90ff0e09a
refactor(remoteProcess): remove redundant file transfer functions for improved clarity
2025-09-22 12:54:37 +02:00
Andras Bacsai
bb0cdefa35
Merge branch 'next' into feat/improve-network-mode-check
2025-09-22 12:31:36 +02:00
Andras Bacsai
c1799bdae6
fix(docker): redirect stderr to stdout for container log retrieval to capture error messages
2025-09-18 12:51:03 +02:00
Andras Bacsai
60e31a1381
refactor(remoteProcess): remove file transfer handling from remote_process and instant_remote_process functions to simplify code
2025-09-15 17:59:35 +02:00
Andras Bacsai
133e72336a
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency"
...
This reverts commit feacedbb04 .
2025-09-15 17:56:48 +02:00
Andras Bacsai
393745b68c
Revert "refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency"
...
This reverts commit 18068857b1 .
2025-09-15 17:55:08 +02:00
Andras Bacsai
3255f42385
refactor(remoteProcess): remove command log comments for file transfers to simplify code
2025-09-15 15:39:27 +02:00
Andras Bacsai
77c7da39e2
feat(deployment): enhance deployment status reporting with detailed information on active deployments and team members
2025-09-15 14:10:20 +02:00
Sepcnt
a03de180f5
Merge branch 'next' into next
2025-09-15 16:59:57 +08:00
Andras Bacsai
5b3b4bbc43
refactor(environment): remove 'is_build_time' attribute from environment variable handling across the application to simplify configuration
2025-09-11 16:51:56 +02:00
Andras Bacsai
501e6a2650
refactor(environment): standardize service name formatting by replacing '-' and '.' with '_' in environment variable keys
2025-09-11 13:59:02 +02:00
Andras Bacsai
5e0b86f322
Merge pull request #6170 from mindedtech/Add-SERVICE_NAME-variable-for-docker-compose-services
...
Add SERVICE_NAME variable for docker compose services
2025-09-11 13:06:10 +02:00
Andras Bacsai
ff29525dd9
refactor(clone): enhance application cloning by separating production and preview environment variable handling
2025-09-11 12:52:35 +02:00
Andras Bacsai
6ed2fd5d66
refactor(clone): integrate preview cloning logic directly into application cloning function for improved clarity and maintainability
2025-09-11 12:29:49 +02:00
Andras Bacsai
e74da06465
refactor(clone): consolidate application cloning logic into a dedicated function for improved maintainability and readability
2025-09-11 10:38:08 +02:00
Andras Bacsai
d10e4fa388
refactor(deployment): streamline next deployment queuing logic by repositioning queue_next_deployment call
2025-09-10 13:26:35 +02:00
Andras Bacsai
f18dff186d
refactor(remoteProcess): remove debugging statement from transfer_file_to_container function for cleaner code
2025-09-10 13:25:23 +02:00
Andras Bacsai
b6113839ec
refactor(deployment): enhance queuing logic to support concurrent deployments by including pull request ID in checks
2025-09-10 12:49:42 +02:00
Andras Bacsai
52312e9de6
refactor(github-webhook): restructure application processing by grouping applications by server for improved deployment handling
2025-09-10 09:30:43 +02:00
sepcnt
45a7370b55
fix(socialite): add custom base URL support for GitLab provider in OAuth settings
2025-09-09 21:47:02 +08:00
Andras Bacsai
1ca94b90da
fix(proxy): replace CheckConfiguration with GetProxyConfiguration and SaveConfiguration with SaveProxyConfiguration for improved clarity and consistency in proxy management
2025-09-09 12:52:19 +02:00
Andras Bacsai
feacedbb04
refactor(file-transfer): replace base64 encoding with direct file transfer method in various components for improved clarity and efficiency
2025-09-09 11:10:38 +02:00
Andras Bacsai
ad58dfc62e
feat(sudo-helper): add helper functions for command parsing and ownership management with sudo
2025-09-09 09:00:42 +02:00
Andras Bacsai
a7671ed379
refactor(dns-validation): rename DNS validation functions for consistency and clarity, and remove unused code
2025-09-09 09:00:35 +02:00
Andras Bacsai
ccc9ceb734
refactor(remoteProcess): remove debugging statement from transfer_file_to_server function to clean up code
2025-09-09 08:56:16 +02:00
Arnaud B
e23ab1e621
feat(deployment): add SERVICE_NAME variables for service discovery
...
This change introduces automatically generated `SERVICE_NAME_<SERVICE>`
environment variables for each service within a Docker Compose deployment.
This allows services to reliably reference each other by name, which is particularly
useful in pull request environments where container names are dynamically suffixed.
- The application parser now generates and injects these `SERVICE_NAME` variables
into the environment of all services in the compose file.
- `ApplicationDeploymentJob` is updated to correctly handle and filter these
new variables during deployment.
- UI components and the `EnvironmentVariableProtection` trait have been updated
to make these generated variables read-only, preventing accidental modification.
This commit introduces two new helper functions to standardize resource naming
for pull request deployments:
- `addPreviewDeploymentSuffix()`: Generates a consistent suffix format (-pr-{id})
for resource names in preview deployments
- `generateDockerComposeServiceName()`: Creates SERVICE_NAME environment variables
for Docker Compose services
2025-09-08 15:22:44 +02:00
Andras Bacsai
18068857b1
refactor(file-transfer): replace base64 encoding with direct file transfer method across multiple database actions for improved clarity and efficiency
2025-09-08 14:04:24 +02:00
Andras Bacsai
852b2688d9
refactor(error-handling): remove ray debugging statements from CheckUpdates and shared helper functions to clean up error reporting
2025-09-08 14:03:27 +02:00
Andras Bacsai
4bd29bf966
refactor(ssh): enhance error handling in SSH command execution and improve connection validation logging
2025-09-07 18:45:44 +02:00
Andras Bacsai
579cc25898
fix(ssh): introduce SshRetryHandler and SshRetryable trait for enhanced SSH command retry logic with exponential backoff and error handling
2025-09-07 17:17:35 +02:00
Andras Bacsai
75b61a6b00
feat(domains): add force_domain_override option and enhance domain conflict detection responses
2025-08-28 11:21:30 +02:00
Andras Bacsai
80499a03d8
feat(domains): implement domain conflict detection and user confirmation modal across application components
2025-08-28 10:52:41 +02:00
Andras Bacsai
e0aa28ba31
refactor(domains): rename check_domain_usage to checkDomainUsage and update references across the application
2025-08-28 10:00:19 +02:00
Andras Bacsai
2e85ce0e0e
refactor(urls): replace generateFqdn with generateUrl for consistent URL generation across applications
2025-08-28 09:49:58 +02:00
Andras Bacsai
efc1264810
fix(parsers): do not modify service names, only for getting fqdns and related envs
2025-08-27 21:22:04 +02:00
Andras Bacsai
3e816c8281
refactor(parsers): remove unnecessary hyphen-to-underscore replacement for service names in serviceParser function
2025-08-27 18:36:58 +02:00
Andras Bacsai
21fc1ba254
fix(docker): update parser version in FQDN generation for service-specific URLs
2025-08-27 17:02:38 +02:00
Andras Bacsai
cde528bf5e
fix(parsers): enhance volume string handling by preserving mode in application and service parsers. Update related unit tests for validation.
2025-08-27 16:54:49 +02:00
Andras Bacsai
5fbad08e45
fix(parsers): implement parseDockerVolumeString function to handle various Docker volume formats and modes, including environment variables and Windows paths. Add unit tests for comprehensive coverage.
2025-08-27 16:39:38 +02:00
Andras Bacsai
4a1eb064a4
fix(parsers): replace hyphens with underscores in service names for consistency. this allows to properly parse custom domains in docker compose based applications
2025-08-27 16:22:37 +02:00
Andras Bacsai
74ebaef17b
feat(api): enhance IP access control in middleware and settings; support CIDR notation and special case for 0.0.0.0 to allow all IPs
2025-08-26 10:27:38 +02:00
Aditya Tripathi
8a35295f13
fix(proxy): filter host network from default proxy ( #6383 )
2025-08-18 17:48:24 +02:00
Andras Bacsai
ee502b9f76
feat(email): implement email change request and verification process
...
- Added functionality for users to request an email change, including generating a verification code and setting an expiration time.
- Implemented methods in the User model to handle email change requests, code validation, and confirmation.
- Created a new job to update the user's email in Stripe after confirmation.
- Introduced rate limiting for email change requests and verification attempts to prevent abuse.
- Added a new notification for email change verification.
- Updated the profile component to manage email change requests and verification UI.
2025-08-18 14:54:08 +02:00
Andras Bacsai
460198bb05
fix(application): clear Docker Compose specific data when switching away from dockercompose
2025-08-18 11:31:14 +02:00
Andras Bacsai
be34c0c2b4
refactor(parsers): update volume parsing logic to use beforeLast and afterLast for improved accuracy
2025-08-17 18:36:28 +02:00
Andras Bacsai
1675c85d4d
refactor(shared helpers): remove unused parseServiceVolumes function to clean up codebase
2025-08-17 18:09:59 +02:00
Andras Bacsai
9b98891269
Merge branch 'next' into fix-volume-variable-with-default
2025-08-17 18:03:38 +02:00
Andras Bacsai
42bdc2a5fd
refactor(docker compose): remove deprecated newParser function and associated test file to streamline codebase
2025-08-17 18:03:00 +02:00
Andras Bacsai
0dada987a2
feat(backup): add disable local backup option and related logic for S3 uploads
2025-08-17 12:34:20 +02:00
Andras Bacsai
970fd3d9e6
refactor(parsers): streamline domain handling in applicationParser and improve DNS validation logic
2025-08-12 10:07:11 +02:00
Andras Bacsai
39f25573bf
refactor(templates): update service template file handling to use dynamic file name from constants
2025-08-12 10:06:19 +02:00
Andras Bacsai
936a192236
fix(parsers): clarify comments and update variable checks for FQDN and URL handling
2025-08-12 10:06:19 +02:00
Andras Bacsai
e8892b3d29
feat(core): finally fqdn is fqdn and url is url. haha
2025-08-12 10:06:19 +02:00
Andras Bacsai
a0bc4dac55
fix(application): streamline environment variable updates for Docker Compose services and enhance FQDN generation logic
2025-08-12 10:06:19 +02:00
Yanluis Fermin
e572017d27
fix(api): duplicated logs in application endpoint ( #6292 )
2025-08-11 14:03:46 +02:00
Trung-DV
4f77bd4347
Fix volume target, use the last part
...
Signed-off-by: Trung-DV <TrungDV.PMB@gmail.com>
2025-08-06 10:21:54 +07:00
jvdboog
7a110880c1
feat: Improve detection of special network modes
2025-07-20 22:15:42 +02:00
Andras Bacsai
9651e3a7ec
revert(parser): enhance FQDN generation logic for services and applications
2025-07-18 23:10:08 +02:00
Andras Bacsai
90ccaeba51
feat(application): implement environment variable updates for Docker Compose applications, including creation, updating, and deletion of SERVICE_FQDN and SERVICE_URL variables
2025-07-18 20:48:56 +02:00
Andras Bacsai
5e693eb4b5
refactor(services): simplify environment variable updates by using updateOrCreate and add cleanup for removed FQDNs
2025-07-18 20:48:56 +02:00
Andras Bacsai
9ed77e5eef
fix(services): update environment variable naming convention to use underscores instead of dashes for SERVICE_FQDN and SERVICE_URL
2025-07-18 20:48:56 +02:00
Andras Bacsai
94f9c54256
fix(deployment): refactor domain parsing and environment variable generation using Spatie URL library
2025-07-08 10:42:34 +02:00
Andras Bacsai
95da765a9e
fix(deployment): improve docker-compose domain handling and environment variable generation
2025-07-07 16:07:08 +02:00
Andras Bacsai
085529dc63
fix(deployment): enhance COOLIFY_URL and COOLIFY_FQDN variable generation for better compatibility
2025-07-07 12:55:35 +02:00
Andras Bacsai
6a90bdf9fa
fix(env): Generate literal env variables better
2025-07-07 12:30:44 +02:00
Andras Bacsai
f732220b8f
refactor(shared): improve error handling in getTopLevelNetworks function to return network name on invalid docker-compose.yml
2025-07-07 10:20:54 +02:00
Andras Bacsai
2f68f965a7
refactor(shared): enhance FQDN generation logic for services in newParser function
2025-07-03 21:29:57 +02:00
Andras Bacsai
485e45bbb8
fix(shared): refactor gzip handling for Pocketbase in newParser function for improved clarity
2025-06-26 21:59:53 +02:00
Andras Bacsai
34135f2b4a
fix(parser): enable gzip compression conditionally for Pocketbase images and streamline service creation logic
2025-06-25 13:12:11 +02:00
Andras Bacsai
b7602e30b3
fix(docker): conditionally enable gzip compression in Traefik labels based on configuration
2025-06-25 13:11:44 +02:00
Andras Bacsai
e42c5baedd
fix(parser): improve FQDN generation and update environment variable handling
2025-06-24 13:28:52 +02:00
Hauke Schnau
1968d4d494
feat(auth): add Zitadel OAuth Provider ( #5490 )
2025-06-18 14:35:54 +02:00
Yassir Elmarissi
a77bd88258
feat(auth): Add Clerk OAuth Provider ( #5553 )
2025-06-18 14:29:46 +02:00
Yassir Elmarissi
4375f52c5d
feat(auth): Add Discord OAuth Provider ( #5552 )
2025-06-18 14:19:01 +02:00
Andras Bacsai
81d6cb539b
refactor(remoteProcess): update sanitize_utf8_text function to accept nullable string parameter for improved type safety
2025-06-10 10:53:23 +02:00
Andras Bacsai
ddcb14500d
refactor(proxy-status): refactored how the proxy status is handled on the UI and on the backend
...
feat(cloudflare): improved cloudflare tunnel automated installation
2025-06-06 14:47:54 +02:00
Andras Bacsai
8e8400f595
feat(utf8-handling): implement UTF-8 sanitization for command outputs and enhance error handling in logs processing
2025-06-05 14:27:39 +02:00
Andras Bacsai
842f22340e
refactor(database-detection): enhance isDatabaseImage function to utilize service configuration for improved detection accuracy
2025-06-04 11:44:37 +02:00
Andras Bacsai
2361c34a53
refactor(error-handling): replace generic Exception with RuntimeException for improved error specificity
2025-05-29 10:49:55 +02:00
Andras Bacsai
698b090b4d
fix(docker): ensure correct parsing of environment variables by limiting explode to 2 parts
2025-05-22 14:27:55 +02:00
Andras Bacsai
2189c44ba5
fix(shared): remove unused relation from queryDatabaseByUuidWithinTeam function
2025-05-20 15:08:20 +02:00
Arnaud Dezandee
587a927b8b
feat(oauth): set redirect uri as optional and add default value ( #5760 )
2025-05-20 14:35:39 +02:00
Andras Bacsai
24b7b53973
Revert "fix(dev): mount points?!"
...
This reverts commit 365bf3cbf0 .
2025-05-05 08:55:44 +02:00
Andras Bacsai
cf7a6eccab
fix(dev): proxy mount point
2025-05-03 12:44:32 +02:00
Andras Bacsai
365bf3cbf0
fix(dev): mount points?!
2025-05-03 09:59:42 +02:00
Andras Bacsai
22b88d55b3
fix(applications): include pull_request_id in deployment queue check to prevent duplicate deployments
2025-04-30 15:28:47 +02:00
Andras Bacsai
d8c3418e72
feat(Service): Add functionality to convert between applications and databases in docker-compose based applications
...
fix(ui): Fix service layout refresh on compose change
2025-04-29 14:27:17 +02:00
Andras Bacsai
08d2ad83ee
fix(docker): enhance hostname and GPU option validation in Docker run to compose conversion
2025-04-23 13:34:27 +02:00
Andras Bacsai
04e1d5c75d
fix(docker): ensure password hashing only occurs when HTTP Basic Authentication is enabled
2025-04-23 13:30:27 +02:00
Andras Bacsai
78ef80f800
refactor
2025-04-23 13:22:01 +02:00
Andras Bacsai
e4648bcf9c
feat(docker): add HTTP Basic Authentication support and enhance hostname parsing in Docker run conversion
2025-04-23 11:57:26 +02:00
Andras Bacsai
8520beff51
refactor(docker): remove debug statement and enhance hostname handling in Docker run conversion
2025-04-23 11:21:37 +02:00