/docker-erpnext

:whale: :snake: Docker image for ERPNext.

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

License: AGPL v3 Build Status Docker Automated buid Docker Pulls

ERPNext Docker container

🐳 Docker image for ERPNext.

This image was inspired by several other containers developed by the community:

The concept is the following:

  • no need to provide any configuration file: everything will be automatically generated by the container through environnment variables
  • the application container sets all the environment variables, the other containers wait for setup to be done
  • provide postgresql compatibility

Check base image Monogramm/docker-frappe for details.

Check image Monogramm/docker-erpnext-ext to see how to expand this image and add custom frappe apps.

What is ERPNext ?

Open Source ERP built for the web.

erpnext.com

github erpnext

Supported tags

https://hub.docker.com/r/monogramm/docker-erpnext/

  • ERPNext develop branch

    • develop-alpine develop
    • develop-debian
    • develop-debian-slim
  • ERPNext 13

    • 13-alpine 13
    • 13-debian
    • 13-debian-slim
  • ERPNext 12

    • 12-alpine 12 alpine latest
    • 12-debian debian
    • 12-debian-slim debian-slim
  • ERPNext 11

    • 11-alpine 11
    • 11-debian
    • 11-debian-slim

How to run this image ?

This image does not contain the database for ERPNext. You need to use either an existing database or a database container.

This image is designed to be used in a micro-service environment using docker-compose. There are basically 2 variants of the image you can choose from: alpine or debian.

Running this image with docker-compose

  • Select the version closest to what you want in the images folder
    • In the docker-compose.yml, you can comment the build lines, uncomment the image lines and edit versions to download prebuilt docker container.
  • Feel free to edit variables defined in .env as you see fit.
  • Run the docker-compose with docker-compose up -d and that's it.
  • Now, go to http://localhost:80 to access the first run installation wizard.

Questions / Issues

If you got any questions or problems using the image, please visit our Github Repository and write an issue.

References

A list of a few issues encountered during the development of this container for future reference:

  • ERPNext installs fails with Postgresql due to missing column