2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 02:28:57 +00:00
Docker images for production and development setups of the Frappe framework and ERPNext
Go to file
2021-12-05 14:32:08 +05:30
.github ci: Fix paths that trigger workflows (#587) 2021-11-26 19:52:17 +05:30
.vscode Added an opinionated set of extensions that will provide a common base for development and tutorials 2020-04-19 14:00:35 +01:00
build feat(bench): Don't show editable-bench warnings (#593) 2021-12-02 20:36:07 +05:30
devcontainer-example chore: devcontainer update 2021-09-15 15:11:36 +05:30
development feat: allow devcontainer vscode configuration 2021-11-30 17:27:25 +05:30
docs fix: change unpriviliged nginx port from 80 to 8080 2021-11-21 16:23:32 +05:30
installation feat: Upgrade mariadb and use command instead of copying config file (#597) 2021-12-05 14:32:08 +05:30
tests feat: Upgrade mariadb and use command instead of copying config file (#597) 2021-12-05 14:32:08 +05:30
.dockerignore chore: cleanup redundant files 2020-03-02 23:10:16 +05:30
.gitignore Revert "update" 2021-11-06 20:02:42 +03:00
CODE_OF_CONDUCT.md CODE_OF_CONDUCT.md 2020-09-15 11:23:42 -07:00
CONTRIBUTING.md docs: Update CONTRIBUTING.md (#594) 2021-12-03 05:06:58 +05:30
docker-bake.hcl Build ERPNext images on top fresh Frappe images (#582) 2021-11-24 05:10:27 +05:30
docker-compose.yml feat: Upgrade mariadb and use command instead of copying config file (#597) 2021-12-05 14:32:08 +05:30
env-example chore: add SKIP_NGINX_TEMPLATE_GENERATION to compose 2021-03-30 13:51:20 +05:30
env-local fix: add WORKER_CLASS under erpnext-python in docker-compose.yml 2021-05-21 11:31:08 +05:30
env-production fix: add WORKER_CLASS under erpnext-python in docker-compose.yml 2021-05-21 11:31:08 +05:30
greetings.yml Create greetings.yml 2020-03-24 17:15:27 +00:00
LICENSE.md Rename LICENSE to LICENSE.md 2017-10-02 09:48:51 +05:30
README.md ci: Build fixes 2021-10-31 11:02:58 +05:30

Build Stable Build Develop

Getting Started

Try in Play With Docker

Try in PWD

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

Setting up Pre-requisites

This repository requires Docker, docker-compose and Git to be setup on the instance to be used.

For Docker basics and best practices. Refer Docker documentation.

Cloning the repository and preliminary steps

Clone this repository somewhere in your system:

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

Production Setup

It takes care of the following:

  • Setting up the desired version of Frappe/ERPNext.
  • Setting up all the system requirements: eg. MariaDB, Node, Redis.
  • Configure networking for remote access and setting up LetsEncrypt.

It doesn't take care of the following:

  • Cron Job to backup sites is not created by default.
  • Use CronJob on k8s or refer wiki for alternatives.
  1. Single Server Installs
    1. Single bench. Easiest Install!
    2. Multi bench
  2. Multi Server Installs
    1. Docker Swarm
    2. Kubernetes
  3. Site Operations
  4. Environment Variables
  5. Custom apps for production
  6. Tips for moving deployments
  7. Wiki for optional recipes

Development Setup

It takes care of complete setup to develop with Frappe/ERPNext and Bench, Including the following features:

  • VSCode containers integration
  • VSCode Python debugger
  • Pre-configured Docker containers for an easy start

Start development.

Contributing