Docker environment for developing, deploying, and running Frappe applications (ERPNext and custom apps) in production and development
Find a file
Bohdan Kucherivayi a461dac7dc fix: build
2024-11-28 00:25:00 +02:00
.devcontainer Merge branch 'main' of github.com:zapal-tech/erp; branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:24:38 +02:00
.github fix: bake file 2024-11-27 23:30:23 +02:00
.vscode chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
devcontainer-example Merge branch 'main' of github.com:zapal-tech/erp; branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:24:38 +02:00
development Merge branch 'main' of github.com:zapal-tech/erp; branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:24:38 +02:00
docs Merge branch 'main' of github.com:zapal-tech/erp; branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:24:38 +02:00
images fix: build 2024-11-28 00:25:00 +02:00
overrides Merge branch 'main' of github.com:zapal-tech/erp; branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:24:38 +02:00
resources feat: update configuration 2024-02-13 21:41:40 +02:00
.dockerignore Global refactoring (#617) 2022-03-14 11:23:03 +05:30
.editorconfig chore: Use pre-commit framework (#604) 2021-12-10 11:48:00 +03:00
.env.example Merge branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:25:11 +02:00
.gitignore fix: gitignore (#1391) 2024-05-01 12:25:49 +05:30
.pre-commit-config.yaml chore(deps): Update pre-commit hooks (#1495) 2024-10-23 17:11:50 +05:30
CODE_OF_CONDUCT.md #1402 Environment variables for custom image (#1403) 2024-06-08 00:21:17 +05:30
compose.yaml Merge branch 'main' of github.com:zapal-tech/erp; branch 'main' of github.com:frappe/frappe_docker 2024-11-27 22:24:38 +02:00
COMPOSE_FILE.md feat: update dockerfiles 2024-02-16 17:31:47 +02:00
docker-bake.hcl fix: bake file 2024-11-27 23:30:23 +02:00
docker-compose.yml fix 2024-02-16 18:44:21 +02:00
install_x11_deps.sh feat: update erp docker setup 2024-02-13 15:44:14 +02:00
pwd.yml chore: Update example.env 2024-11-27 16:11:05 +00:00
README.md Updated README.md (arm64 architecture) (#1520) 2024-11-27 14:01:18 +05:30
requirements-test.txt chore(deps): bump pytest from 8.3.2 to 8.3.3 (#1466) 2024-09-15 03:10:02 +05:30

Build Stable Build Develop

Everything about Frappe and ERPNext in containers.

Getting Started

To get started you need Docker, docker-compose, and git setup on your machine. For Docker basics and best practices refer to Docker's documentation.

Once completed, chose one of the following two sections for next steps.

Try in Play With Docker

To play in an already set up sandbox, in your browser, click the button below:

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 cloning the repo 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.yaml
  • 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

Frequently Asked Questions

Production

Custom Images

Development

Troubleshoot

Contributing

If you want to contribute to this repo refer to CONTRIBUTING.md

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