Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 2.58 KB

README.md

File metadata and controls

56 lines (39 loc) · 2.58 KB

What is SQL-Ledger?

SQL-Ledger is an open source ERP and accounting system.

It gives you all the functionality you need for quotations, order management, invoices, payrolls and much more. The program is written in Perl, runs on an Apache webserver, uses a PostgreSQL database and is highly configurable.

For more informations about SQL-Ledger and the code used for this image please visit github.com/Tekki/sql-ledger.

Supported tags and respective Dockerfile links

How to use this image

Starting a SQL-Ledger instance is simple:

$ docker run -d --name my-sql-ledger -p 80:80 tekki/sql-ledger:latest

The database is expected to run in a separate container and XeTeX is used as PDF engine.

You find a sample compose file at samples/docker-compose.yml.

Environment Variables

Name Default Value Description
SL_DVIPDF 0 use dvipdf instead of pdflatex
SL_HELPFUL_LOGIN 0 helpful error messages on login screen
SL_LATEX 1 use LaTeX
SL_LOGIN_LANGUAGE language of the login screen
SL_PDFTK 1 use pdftk to combine PDFs
SL_SENDMAIL "| /usr/sbin/sendmail -f <%from%> -t" pipe to sendmail
SL_XELATEX 1 use XeLaTex instead of pdflatex

Folder Structure

The container will create and use a volume located at /var/sldata with the following structure:

├ images
├ spool
├ templates
└ users

Source

The source of this image on GitHub.