Skip to content

feat: add docker setup for local testing #78

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

Open
wants to merge 2 commits into
base: version-15
Choose a base branch
from

Conversation

MarcCon
Copy link
Collaborator

@MarcCon MarcCon commented Jun 18, 2025

This PR introduces a Docker demo setup for running ERPNext with our custom ALYF apps. It is based on the Docker Workflow PR which provides the custom image used in this setup. #77

Whats Included:

env.example:

Contains configuration values such as site name, database credentials, and the link to the custom Docker image.

docker-compose.yml:

A single Docker Compose file that combines the base configuration and some overrides from the frappe_docker repository.
It automatically creates a new site and installs all the ALYF custom apps on it.

Note:
During setup, the database user must be granted access from all hosts ('%') manually. Without this, connections between Docker containers to the database will fail. This solution is based on this: docker-library/mysql#275
Maybe there is a cleaner way than embedding SQL in the compose file.

In the future, we could also provide a production setup.

@revant
Copy link

revant commented Jun 19, 2025

Optional Checks

@MarcCon
Copy link
Collaborator Author

MarcCon commented Jul 14, 2025

Thanks for the suggestions. I think it’s fine for now as long as we make the image available for testing purposes. In the future we can integrate it into our production setup.

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