2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 14:21:05 +00:00
Docker images for production and development setups of the Frappe framework and ERPNext
Go to file
Al Majumdar 1fba893504
Add platforms to bake file to include m1 (arm64) (#733)
* add platforms to bake file to include m1 (arm64)

* add platforms to bake file to include m1 (arm64)

* rebased to latest main

* update docker/bake-action to latest version

* test action fix

* add qemu step

* revert to older version of bake

* remove arm64 from breaking build

* test with vanilla buildx

* cleanup

* added platforms directive to default args

* use build_push from current branch

* explicit build_push dependency

* use build push from current branch

* specify branch name

* experiment with syntax

* use commit id for tag

* experiment to extract branch from context

* ditto

* one more variation

* revert

* revert build push to version in current main

* added comment to force build

* force another build

* comment out build on PR

* test if event is pull request

* first test, event is "none"

* fix typo

* correct syntax

* set event name correctly

* explicit variable for multi arch build

* test multi arch build

* test negated conditional

* enable PR build

* use env variable to control multi arch

* test with env var

* revert

* revert

* try syntax variation

* check val

* try variation

* add platforms

* re-enable PR builds

* revert file

* untested but should work

* switch from env var to input for action

* test against restlessronin branch

* fix typo

* cleanups

* revert action link

* refactor to explicit platform list

* try variation

* remove env toggle

* retry

* try multi build

* ternary workaround

* cleanup

* revert action branch

* fix typo

* yat

* revert to origin CI action

* post review changes (untested)

* no arm for v12
2022-04-03 16:18:36 +03:00
.github Add platforms to bake file to include m1 (arm64) (#733) 2022-04-03 16:18:36 +03:00
.vscode chore(lint): Run prettier 2021-12-10 11:53:43 +03:00
custom_app Remove git reference from install-app (#742) 2022-03-30 12:09:09 +03:00
devcontainer-example update to VS Code version 1.64.2 (#675) 2022-03-15 08:38:06 +03:00
development Global refactoring (#617) 2022-03-14 11:23:03 +05:30
docs Fix file name (#748) 2022-04-03 12:29:36 +05:30
images fix: gunicorn config for containers (#752) 2022-04-03 15:45:39 +03:00
overrides Move Traefik config to appropriate override (#698) 2022-03-15 05:06:46 +05:30
tests Build for v12 (#750) 2022-04-03 15:57:22 +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 Global refactoring (#617) 2022-03-14 11:23:03 +05:30
.pre-commit-config.yaml chore(deps): Update pre-commit hooks (#739) 2022-03-29 11:57:02 +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
compose.yaml Move Traefik config to appropriate override (#698) 2022-03-15 05:06:46 +05:30
CONTRIBUTING.md Update contributing guide (#730) 2022-03-24 10:42:00 +03:00
docker-bake.hcl Simplify Dockerfiles and custom app guide (#714) 2022-03-23 11:43:47 +03:00
example.env chore: Update example.env 2022-03-29 09:21:27 +00:00
LICENSE chore: Rename LICENSE.md to LICENSE (#608) 2021-12-10 16:25:57 +05:30
README.md docs: single server setup example (#715) 2022-04-03 12:26:46 +05:30
requirements-dev.txt chore(deps-dev): bump black from 22.1.0 to 22.3.0 (#741) 2022-03-29 11:56:19 +03:00
requirements-test.txt chore(deps): bump pytest from 7.1.0 to 7.1.1 (#732) 2022-03-24 11:38:47 +03:00
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 Docker documentation. After that, clone this repo:

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

Development

We have baseline for developing in VSCode devcontainer with frappe/bench. Start development.

Production

We provide simple and intuitive production setup with prebuilt Frappe and ERPNext images and compose files. To learn more about those, read the docs.

Also, there's docs to help with deployment:

Custom app

Learn how to containerize your custom Frappe app in this guide.

Contributing

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

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