mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 08:10:30 -04:00
Compare commits
29 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
06941025cd | ||
|
723202b5c4 | ||
|
59a542afc8 | ||
|
5b098c7b49 | ||
|
71e067d0a7 | ||
|
9f4b6b8580 | ||
|
3177ab415e | ||
|
7a2e6174a5 | ||
|
c9b8719897 | ||
|
deeecbcdf1 | ||
|
e41eefd1c0 | ||
|
b247132333 | ||
|
82fdc70f05 | ||
|
16e22ab5b6 | ||
|
2fd0e3a899 | ||
|
2c6e26e41c | ||
|
8abfb47e09 | ||
|
c139863c85 | ||
|
cad89f842c | ||
|
dffd342880 | ||
|
3230ac320c | ||
|
9e0957127b | ||
|
6b4fd9c831 | ||
|
68461e62b0 | ||
|
6779e82743 | ||
|
6dfa51e6bf | ||
|
3edc3bfa83 | ||
|
6e2097eb2a | ||
|
2b2c2a86a7 |
@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bullseye-slim
|
||||
|
||||
FROM $SRCIMAGE AS builder
|
||||
|
||||
ARG LSMB_VERSION="1.9.22"
|
||||
ARG LSMB_VERSION="1.10.18"
|
||||
ARG LSMB_DL_DIR="Releases"
|
||||
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
||||
|
||||
@@ -51,7 +51,7 @@ LABEL org.opencontainers.image.description="LedgerSMB is a full featured double-
|
||||
the LedgerSMB project is to bring high quality ERP and accounting capabilities\
|
||||
to Small and Midsize Businesses."
|
||||
|
||||
ARG LSMB_VERSION="1.9.22"
|
||||
ARG LSMB_VERSION="1.10.18"
|
||||
ARG LSMB_DL_DIR="Releases"
|
||||
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
|
||||
|
||||
|
47
README.md
47
README.md
@@ -14,7 +14,9 @@ Dockerfile for LedgerSMB Docker image
|
||||
- `master` - Master branch from git, unstable
|
||||
|
||||
Containers supporting the development process are provided
|
||||
through the ledgersmb-dev-docker project. See https://github.com/ledgersmb/ledgersmb-dev-docker/blob/master/README.md#getting-started.
|
||||
through the ledgersmb-dev-docker project. See [the development
|
||||
container's README](https://github.com/ledgersmb/ledgersmb-dev-docker/blob/master/README.md#getting-started)
|
||||
for more information.
|
||||
|
||||
# What is LedgerSMB?
|
||||
|
||||
@@ -49,11 +51,11 @@ or manually with docker only.
|
||||
|
||||
## Docker-Compose: Installation and start
|
||||
|
||||
This image provides `docker-compose.yml` which can be used to pull related
|
||||
images, install them, establish an internal network for their communications,
|
||||
adjust environment variables, start and stop LedgerSMB. The only instructions
|
||||
required, after the optional edition of the file to adjust the environment
|
||||
variables, are:
|
||||
This image provides a file named `docker-compose.yml` which can be used to
|
||||
pull related images, install them, establish an internal network for their
|
||||
communications, adjust environment variables, start and stop LedgerSMB. The
|
||||
only instructions required, after the optional edition of the file to adjust
|
||||
the environment variables, are:
|
||||
|
||||
```plain
|
||||
$ docker-compose pull
|
||||
@@ -108,7 +110,7 @@ like `POSTGRES_HOST` above.
|
||||
|
||||
# Set up LedgerSMB
|
||||
|
||||
* Visit http://localhost:5762/setup.pl.
|
||||
* Visit http://myledger:5762/setup.pl.
|
||||
* Log in with the "postgres" user and the password `abc` as given above -
|
||||
or with the credentials of your own database server in case of a manual
|
||||
setup - and provide the name of a company (= database name) you want to
|
||||
@@ -173,13 +175,30 @@ yet with the deprecation, the abilities have expanded.
|
||||
|
||||
The following parameters are now supported to set mail preferences:
|
||||
|
||||
* `LSMB_MAIL_SMTPHOST`
|
||||
* `LSMB_MAIL_SMTPPORT`
|
||||
* `LSMB_MAIL_SMTPTLS`
|
||||
* `LSMB_MAIL_SMTPSENDER_HOSTNAME`
|
||||
* `LSMB_MAIL_SMTPUSER`
|
||||
* `LSMB_MAIL_SMTPPASS`
|
||||
* `LSMB_MAIL_SMTPAUTHMECH`
|
||||
* `LSMB_MAIL_SMTPHOST` \
|
||||
The host name/IP-address of the SMTP server that will forward mail from
|
||||
LedgerSMB to the outside world.
|
||||
* `LSMB_MAIL_SMTPPORT` \
|
||||
The port that the SMTP server in `LSMB_MAIL_SMTPHOST` listens to.
|
||||
* `LSMB_MAIL_SMTPTLS` \
|
||||
Can be one of `no` (default), `yes` or `raw`. `yes` indicates to use
|
||||
STARTTLS over a regular SMTP connection; `raw`' indicates an SMTP connection
|
||||
should be established over a TLS connection (a.k.a. smtps).
|
||||
* `LSMB_MAIL_SMTPSENDER_HOSTNAME` (optional) \
|
||||
When set, used to identify the host when connecting to an SMTP server. When
|
||||
not set, the host is queried for its host name.
|
||||
* `LSMB_MAIL_SMTPUSER` \
|
||||
Username to authenticate to the SMTP host in `LSMB_MAIL_SMTPHOST`.
|
||||
* `LSMB_MAIL_SMTPPASS` \
|
||||
Password to authenticate to the SMTP host in `LSMB_MAIL_SMTPHOST` with the
|
||||
user in `LSMB_MAIL_SMTPUSER`.
|
||||
* `LSMB_MAIL_SMTPAUTHMECH` \
|
||||
A space separated list of SASL mechanisms to be used for authentication of
|
||||
the smtp connection with the SMTP server. Available mechanisms depend on
|
||||
your installed environment, but the following mechanisms should be available
|
||||
in all of them: `PLAIN` `LOGIN` `CRAM_MD5` & `DIGEST_MD5`. **Note that**
|
||||
`PLAIN` or `LOGIN` send passwords in plain text over the wire to the SMTP
|
||||
server; only use these methods in combination with TLS encryption.
|
||||
|
||||
# Advanced setup
|
||||
|
||||
|
@@ -25,6 +25,9 @@ services:
|
||||
- "./nginx.conf:/etc/nginx/nginx.conf"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
# Comment the line below to stop the container from restarting on boot
|
||||
# unless it was manually stopped
|
||||
restart: unless-stopped
|
||||
lsmb:
|
||||
volumes:
|
||||
- "lsmbdata:/srv/ledgersmb"
|
||||
|
@@ -25,10 +25,13 @@ services:
|
||||
- internal
|
||||
volumes:
|
||||
- "pgdata:/var/lib/postgresql/data"
|
||||
# Comment the line below to stop the container from restarting on boot
|
||||
# unless it was manually stopped
|
||||
restart: unless-stopped
|
||||
lsmb:
|
||||
depends_on:
|
||||
- postgres
|
||||
image: ghcr.io/ledgersmb/ledgersmb:1.9
|
||||
image: ghcr.io/ledgersmb/ledgersmb:1.10
|
||||
networks:
|
||||
- internal
|
||||
- default
|
||||
@@ -67,6 +70,9 @@ services:
|
||||
# hosted in a separate container, this setting needs to be adjusted.
|
||||
#
|
||||
# PROXY_IP: 172.17.0.1/12
|
||||
# Comment the line below to stop the container from restarting on boot
|
||||
# unless it was manually stopped
|
||||
restart: unless-stopped
|
||||
|
||||
# having the dbdata volume is required to persist our
|
||||
# data between PostgreSQL container updates; without
|
||||
|
Reference in New Issue
Block a user