Giter Club home page Giter Club logo

custom_frappe_docker's Introduction

Introduction

  • This repo is based on official frappe_docker documentation to build custom apps.
  • Fork this repo to build your own image with ERPNext and list of custom Frappe apps.
  • Change the frappe and erpnext versions in base_versions.json to use them as base. These values correspond to tags and branch names on the github frappe and erpnext repo. e.g. version-13, v13.25.1
  • Change ci/clone-apps.sh script to clone your private and public apps. Read comments in the file to update it as per need. This repo will install following apps:
  • Change images/backend.Dockerfile to copy and install required apps with install-app.
  • Change images/frontend.Dockerfile to copy and install required apps with install-app.
  • Change docker-bake.hcl for builds as per need.
  • Workflows from .github/workflows will build latest or tagged images. Change as per need.
  • Registry will build images automatically and publish to github container registry.

Manually Build images

Execute from root of app repo

Clone,

./ci/clone-apps.sh

Set environment variables,

  • FRAPPE_VERSION set to use frappe version during building images. Default is version-13.
  • ERPNEXT_VERSION set to use erpnext version during building images. Default is version-13.
  • VERSION set the tag version. Default is latest.
  • REGISTRY_NAME set the registry name. Default is custom_app.
  • BACKEND_IMAGE_NAME set worker image name. Default is custom_worker.
  • FRONTEND_IMAGE_NAME set nginx image name. Default is custom_nginx.

Build,

docker buildx bake -f docker-bake.hcl --load

Note:

  • Use docker buildx bake --load to load images for usage with docker.
  • Use docker buildx bake --push to push images to registry.
  • Use docker buildx bake --help for more information.
  • Change version in version.txt to build tagged images from the changed version.

custom_frappe_docker's People

Contributors

dependabot[bot] avatar revant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.