2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-16 17:19:03 +00:00
Docker images for production and development setups of the Frappe framework and ERPNext
Go to file
Revant Nandgaonkar 09060341c7 fix: make changes for backward compat
make changes for refactor to work on existing setups
2022-03-07 12:30:23 +05:30
.github chore(deps): bump actions/checkout from 2 to 3 (#673) 2022-03-04 22:35:27 +03:00
.vscode chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
build build: Change bench target names and move CI to separate workflow (#655) 2022-02-08 11:35:52 +03:00
devcontainer-example fix: update devcontainer mariadb (#605) 2021-12-06 17:55:24 +05:30
development Change mysql.user to mysql.global_priv -> for MariaDB 10.4+ (#650) 2022-02-12 17:39:15 +05:30
docs fix: make changes for backward compat 2022-03-07 12:30:23 +05:30
installation chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
tests chore(lint): Run shfmt 2021-12-10 11:56:18 +03:00
.dockerignore chore: cleanup redundant files 2020-03-02 23:10:16 +05:30
.editorconfig chore: Use pre-commit framework (#604) 2021-12-10 11:48:00 +03:00
.gitignore Revert "update" 2021-11-06 20:02:42 +03:00
.pre-commit-config.yaml Fix pre-commit config (#657) 2022-02-08 12:27:54 +03:00
.prettierignore chore(lint): Take hooks configs out so linting works without pre-commit too (#609) 2021-12-10 12:31:44 +03:00
.shellcheckrc chore(lint): Take hooks configs out so linting works without pre-commit too (#609) 2021-12-10 12:31:44 +03:00
CODE_OF_CONDUCT.md chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
CONTRIBUTING.md chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
docker-bake.hcl build: Change bench target names and move CI to separate workflow (#655) 2022-02-08 11:35:52 +03:00
docker-compose.yml fix: make changes for backward compat 2022-03-07 12:30:23 +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
LICENSE chore: Rename LICENSE.md to LICENSE (#608) 2021-12-10 16:25:57 +05:30
pwd.yml chore: Fix pwd url and move pwd.yml away from tests directory (#603) 2021-12-05 18:56:21 +03:00
README.md chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
setup.cfg chore(lint): Take hooks configs out so linting works without pre-commit too (#609) 2021-12-10 12:31:44 +03:00

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