Skip to content

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

License

Notifications You must be signed in to change notification settings

anvie/frappe_docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,664 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Stable Build Develop

Frappe Docker

Everything about Frappe and ERPNext in containers.

Production-ready containerized setup for Frappe and ERPNext applications. This repository provides Docker images and deployment configurations for running Frappe/ERPNext in both development and production environments.

Table of Contents

Overview

Frappe Docker provides a complete containerized solution for deploying the Frappe framework and ERPNext ERP system. It includes:

  • Pre-built Docker images for Frappe and ERPNext (versions 13, 14, and 15)
  • Multiple deployment configurations (development, production, single-server)
  • Docker Compose setups for easy orchestration
  • Support for custom apps and extensions
  • Built-in backup and restore capabilities
  • TLS/SSL support via Traefik reverse proxy
  • Multi-tenancy support with port-based routing
  • Development containers with VSCode integration

Prerequisites

Before you begin, ensure you have:

Quick Start

Choose one of the following options to get started quickly:

Option 1: Try in Browser (Play With Docker)

Click below to instantly spin up a Frappe/ERPNext instance in your browser:

Try in PWD

Try on your Dev environment

First clone the repo:

git clone https://github.com/frappe/frappe_docker
cd frappe_docker

Then run: docker compose -f pwd.yml up -d

To run on ARM64 architecture follow this instructions

After you clone the repo and cd frappe_docker, run this command to build multi-architecture images specifically for ARM64.

docker buildx bake --no-cache --set "*.platform=linux/arm64"

and then

  • add platform: linux/arm64 to all services in the pwd.yml
  • replace the current specified versions of erpnext image on pwd.yml with :latest

Then run: docker compose -f pwd.yml up -d

Final steps

Wait for 5 minutes for ERPNext site to be created or check create-site container logs before opening browser on port 8080. (username: Administrator, password: admin)

If you ran in a Dev Docker environment, to view container logs: docker compose -f pwd.yml logs -f create-site. Don't worry about some of the initial error messages, some services take a while to become ready, and then they go away.

Documentation

Production Deployment

Development

Customization

Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

Related Projects

Support

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 42.4%
  • Dockerfile 33.1%
  • Shell 18.7%
  • HCL 5.8%