Skip to content

frappe/frappe_docker

Frappe Docker

Build Stable Build Develop

Docker images and orchestration for Frappe applications.

What is this?

This repository handles the containerization of the Frappe stack, including the application server, database, Redis, and supporting services. It provides quick disposable demo setups, a development environment, production-ready Docker images and compose configurations for deploying Frappe applications including ERPNext.

Repository Structure

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.

Key Components

  • docs/ - Canonical documentation for all deployment and operational workflows
  • overrides/ - Opinionated Compose overrides for common deployment patterns
  • compose.yaml - Base compose file for production setups (production)
  • pwd.yml - Disposable demo environment (non-production)

Documentation

The official documentation for frappe_docker is maintained in the docs/ folder in this repository.

New to Frappe Docker? Read the Getting Started Guide for a comprehensive overview of repository structure, development workflow, custom apps, Docker concepts, and quick start examples.

If you are already familiar with Frappe, you can jump right into the different deployment methods and select the one best suited to your use case.

Prerequisites

For Docker basics and best practices refer to Docker's documentation

Demo setup

The fastest way to try Frappe is to play in an already set up sandbox, in your browser, click the button below:

Try in PWD

Try on your environment

⚠️ Disposable demo only

This setup is intended for quick evaluation. Expect to throw the environment away. 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)

Documentation Links

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

This repository is only for container related stuff. You also might want to contribute to:

Resources

License

This repository is licensed under the MIT License. See LICENSE for details.

About

Docker images for production and development setups of the Frappe framework and ERPNext

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published