2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-22 01:58:56 +00:00
Docker images for production and development setups of the Frappe framework and ERPNext
Go to file
2024-12-18 09:17:40 +00:00
.github chore(deps): bump docker/bake-action from 5.10.0 to 5.11.0 (#1523) 2024-12-05 11:44:55 +05:30
.vscode chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
devcontainer-example Update docker-compose.yml (#1415) 2024-06-25 10:36:25 +05:30
development revert: quote percent as mentioned in bench help 2024-12-10 15:48:00 +05:30
docs revert: quote percent as mentioned in bench help 2024-12-10 15:48:00 +05:30
images docs: quick build command (#1500) 2024-10-27 14:45:41 +05:30
overrides increase mariadb health-check timeout (#1485) 2024-10-06 13:47:47 +05:30
resources fix: sync nginx template from bench changes (#1242) 2023-10-20 16:30:55 +05:30
tests fix: tests 2024-12-10 16:26:59 +05:30
.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
.gitignore fix: gitignore (#1391) 2024-05-01 12:25:49 +05:30
.pre-commit-config.yaml chore(deps): Update pre-commit hooks 2024-12-17 07:02:09 +00: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 #1402 Environment variables for custom image (#1403) 2024-06-08 00:21:17 +05:30
compose.yaml fix: invalid nested interpolation (#1496) 2024-10-25 14:08:37 +05:30
CONTRIBUTING.md ci: refactor (#1158) 2023-06-26 11:54:37 +05:30
docker-bake.hcl ci: push frappe or erpnext branch as tag (#1508) 2024-11-11 11:52:27 +05:30
example.env chore: Update example.env 2024-12-18 09:17:40 +00:00
install_x11_deps.sh Cypress UI Test service and updates to installer.py (#1250) 2023-10-26 08:35:31 +05:30
LICENSE chore: Rename LICENSE.md to LICENSE (#608) 2021-12-10 16:25:57 +05:30
pwd.yml chore: Update example.env 2024-12-18 09:17:40 +00:00
README.md fix: add quotes into command (#1527) 2024-12-10 16:13:28 +05:30
requirements-test.txt chore(deps): bump pytest from 8.3.3 to 8.3.4 (#1522) 2024-12-04 10:07:33 +05:30
setup.cfg Use pytest (#705) 2022-03-24 10:40:56 +03:00

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: