Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1402 Environment variables for custom image #1403

Merged
merged 6 commits into from
Jun 7, 2024

Conversation

yeifer-co
Copy link
Contributor

@yeifer-co yeifer-co commented May 30, 2024

Details

This pull request addresses the need highlighted in the issue for enhancing the customization process within Frappe Docker deployments. The current method of manually modifying the compose.yaml file for custom applications, as described in the issue, can potentially lead to challenges in version control and file integrity.

To alleviate this, I propose the introduction of environment variables, including CUSTOM_IMAGE, CUSTOM_TAG, PULL_POLICY, HTTP_PUBLISH_PORT and HTTPS_PUBLISH_PORT, which users can leverage to customize their deployments seamlessly. This approach not only simplifies the customization process but also enhances the maintainability and consistency of Frappe Docker configurations.

By incorporating this feature, users can define their custom image names and tags directly through environment variables, facilitating smoother deployments without compromising the integrity of configuration files. Further details and discussions regarding the necessity and implementation of this enhancement are available in the associated issue.

@revant
Copy link
Collaborator

revant commented Jun 4, 2024

please fix the pre-commit / lint

@yeifer-co
Copy link
Contributor Author

Done :), I think so

@revant revant merged commit fa54366 into frappe:main Jun 7, 2024
6 checks passed
TheRealJim1 pushed a commit to TheRealJim1/frappe_docker that referenced this pull request Jul 26, 2024
* chore: enhance compose.yaml with variables for customize

* chore: use default blank values for db and redis variables in compose.yaml

* chore: Use env var for HTTP(S) publish ports in overrides

* docs: explain use of environment variables for image customization

* chore: use ERPNEXT_VERSION as default

* docs: fixed spelling errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants