Docker 环境用于在生产和开发环境中开发、部署和运行 Frappe 应用程序(ERPNext 和自定义应用程序)
This repository is the official container setup for Frappe applications.
It provides Docker images, Compose configurations, and documentation for running Frappe applications, including ERPNext, CRM, Helpdesk, and other Frappe apps, in containers.
Use it if you want to:
frappe_docker/
├── docs/ # Complete documentation
├── overrides/ # Docker Compose configurations for different scenarios
├── compose.yaml # Base Compose File for production setups
├── pwd.yml # Single Compose File for quick disposable demo
├── images/ # Dockerfiles for building Frappe images
├── development/ # Development environment configurations
├── devcontainer-example/ # VS Code devcontainer setup
└── resources/ # Helper scripts and configuration templates
This section describes the structure of this repository, not the Frappe framework itself.
docs/ - Canonical documentation for all deployment and operational workflowsoverrides/ - Opinionated Compose overrides for common deployment patternscompose.yaml - Base compose file for production setups (production)pwd.yml - Disposable demo environment (non-production)The full frappe_docker documentation is available in docs/ and published at frappe.github.io/frappe_docker.
For Docker basics and best practices refer to Docker's documentation
The fastest way to try Frappe locally is with the single-file demo setup in pwd.yml.
⚠️ Disposable demo only
This setup is intended for short-lived evaluation only. You will not be able to install custom apps to this setup. For production deployments, custom configurations, and detailed explanations, see the full documentation.
First clone the repo:
git clone https://github.com/frappe/frappe_docker
cd frappe_docker
Then run:
docker compose -f pwd.yml up -d
Wait for a couple of minutes for ERPNext site to be created or check create-site container logs before opening browser on port 8080. (username: Administrator, password: admin)
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
This repository is only for container related stuff. You also might want to contribute to:
This repository is licensed under the MIT License. See LICENSE for details.
暂无开放 Issues,或尚未同步最近议题。