Compare commits

...

47 Commits

Author SHA1 Message Date
Erik Huelsmann
3fae7e9c67 * Automatic Dockerfile update by release process 2023-10-22 16:01:38 -04:00
Erik Huelsmann
f9fbfba57a Update Dockerfile 2023-10-22 21:10:23 +02:00
Erik Huelsmann
6cfa72e29a Update Dockerfile
Use MetaCPAN database instead of the default.
2023-10-22 21:09:09 +02:00
Erik Huelsmann
d39a26f0f3 * Automatic Dockerfile update by release process 2023-10-10 15:01:56 -04:00
Erik Huelsmann
0215a3442a Update README.md 2023-10-03 23:01:27 +02:00
Erik Huelsmann
05429770c5 * Automatic Dockerfile update by release process 2023-10-02 15:42:18 -04:00
Erik Huelsmann
a12afdf3b0 Update latest 1.9 release 2023-09-29 15:30:05 +02:00
Erik Huelsmann
9a8ee86b71 * Automatic Dockerfile update by release process 2023-08-31 16:41:08 -04:00
Erik Huelsmann
fb8e60f24c Create no-response.yml 2023-08-25 20:46:17 +02:00
Erik Huelsmann
5d4727641f * Automatic Dockerfile update by release process 2023-08-01 18:27:48 -04:00
Erik Huelsmann
c7d22e2b6e * Automatic Dockerfile update by release process 2023-06-23 17:49:14 -04:00
Erik Huelsmann
aa1cdc2dca Merge pull request #32 from perlancar/fix-typo
Fix typo
2023-06-06 12:43:00 +02:00
perlancar (on netbook-dell-xps13)
1d1e029a71 Fix typo 2023-06-06 16:44:32 +07:00
Erik Huelsmann
06941025cd * Automatic Dockerfile update by release process 2023-05-28 09:42:12 -04:00
Erik Huelsmann
723202b5c4 * Automatic Dockerfile update by release process 2023-05-20 10:13:22 -04:00
Erik Huelsmann
59a542afc8 * Automatic Dockerfile update by release process 2023-04-21 15:40:28 -04:00
Erik Huelsmann
5b098c7b49 * Automatic Dockerfile update by release process 2023-04-09 17:27:29 -04:00
Erik Huelsmann
71e067d0a7 * Automatic Dockerfile update by release process 2023-03-03 02:54:10 -05:00
Erik Huelsmann
9f4b6b8580 * Automatic Dockerfile update by release process 2023-02-18 16:23:41 -05:00
Erik Huelsmann
3177ab415e * Automatic Dockerfile update by release process 2023-02-03 06:18:01 -05:00
Erik Huelsmann
7a2e6174a5 * Automatic Dockerfile update by release process 2023-01-27 10:18:01 -05:00
Erik Huelsmann
c9b8719897 * Automatic Dockerfile update by release process 2023-01-15 15:22:04 -05:00
Erik Huelsmann
deeecbcdf1 * Automatic Dockerfile update by release process 2023-01-06 08:14:30 -05:00
Christian Eriksson
e41eefd1c0 Describe environment variables for email config (#30)
* Describe environment variables for email config

New environment variables were introduced to enable users to configure
SMTP email forwarding. The variables were listed in the readme but not
described leaving users in the dark regarding the expected content of
the variables.

* Fix bulletpoint formatting

Instead of sub-bullets we present the explanation for email environment
variables as simple text instead.

* Push email env variable explanations to separate line
2023-01-01 19:55:17 +01:00
Erik Huelsmann
b247132333 * Automatic Dockerfile update by release process 2022-12-22 18:11:14 -05:00
Erik Huelsmann
82fdc70f05 * Automatic Dockerfile update by release process 2022-12-14 15:26:52 -05:00
Erik Huelsmann
16e22ab5b6 * Automatic Dockerfile update by release process 2022-12-10 17:08:25 -05:00
Erik Huelsmann
2fd0e3a899 Make containers restart automatically
and document how to disable that...
2022-11-30 23:55:08 +01:00
Erik Huelsmann
2c6e26e41c Record dependency of nginx on lsmb service
This dependency causes the lsmbdata volume to be forcibly created from the lsmb container
which means that the correct assets will be copied in.
2022-11-30 23:36:07 +01:00
Erik Huelsmann
8abfb47e09 * Automatic Dockerfile update by release process 2022-11-24 15:10:37 -05:00
Erik Huelsmann
c139863c85 Update docker-compose.yml 2022-11-22 22:45:03 +01:00
Erik Huelsmann
cad89f842c * Automatic Dockerfile update by release process 2022-10-30 09:04:50 -04:00
Erik Huelsmann
dffd342880 * Automatic Dockerfile update by release process 2022-10-29 13:01:59 -04:00
Erik Huelsmann
3230ac320c * Automatic Dockerfile update by release process 2022-10-22 14:55:45 -04:00
Erik Huelsmann
9e0957127b * Automatic Dockerfile update by release process 2022-10-12 03:11:21 -04:00
Erik Huelsmann
6b4fd9c831 * Automatic Dockerfile update by release process 2022-10-08 14:50:36 -04:00
Erik Huelsmann
68461e62b0 * Automatic Dockerfile update by release process 2022-10-06 14:34:42 -04:00
Erik Huelsmann
6779e82743 * Automatic Dockerfile update by release process 2022-10-06 05:36:43 -04:00
Erik Huelsmann
6dfa51e6bf Update README.md for 1.10 release 2022-09-24 11:59:21 +02:00
Erik Huelsmann
3edc3bfa83 * Automatic Dockerfile update by release process 2022-09-24 04:18:19 -04:00
Erik Huelsmann
6e2097eb2a * Automatic Dockerfile update by release process 2022-09-14 16:32:37 -04:00
Erik Huelsmann
2b2c2a86a7 Update README.md with 1.10 release series 2022-09-14 20:28:04 +02:00
Erik Huelsmann
2e703cf3b9 * Automatic Dockerfile update by release process 2022-08-10 16:26:55 -04:00
Erik Huelsmann
889fed85c9 Add more container metadata 2022-04-29 22:06:39 +02:00
Erik Huelsmann
3fd89bf933 * Automatic Dockerfile update by release process 2022-04-29 14:52:05 -04:00
Erik Huelsmann
2fd4d25b06 * Automatic Dockerfile update by release process 2022-04-09 10:49:28 -04:00
Erik Huelsmann
92483d9b69 * Automatic Dockerfile update by release process 2022-03-26 17:13:37 -04:00
5 changed files with 88 additions and 23 deletions

25
.github/workflows/no-response.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: No Response
# Both `issue_comment` and `scheduled` event types are required for this Action
# to work properly.
on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 3 * * *'
jobs:
noResponse:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
with:
token: ${{ github.token }}
# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 90
# Label requiring a response
responseRequiredLabel: waiting-for-user
# Comment to post when closing an Issue for lack of response. Set to `false` to disable
closeComment: >
Closing: more than 90 days without user response. Feel free to reopen with your comments.

View File

@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bullseye-slim
FROM $SRCIMAGE AS builder FROM $SRCIMAGE AS builder
ARG LSMB_VERSION="1.9.11" ARG LSMB_VERSION="1.10.24"
ARG LSMB_DL_DIR="Releases" ARG LSMB_DL_DIR="Releases"
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz" ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
@@ -42,8 +42,16 @@ RUN set -x ; \
FROM $SRCIMAGE FROM $SRCIMAGE
LABEL org.opencontainers.image.authors="LedgerSMB project <devel@lists.ledgersmb.org>" LABEL org.opencontainers.image.authors="LedgerSMB project <devel@lists.ledgersmb.org>"
LABEL org.opencontainers.image.title="LedgerSMB double-entry accounting web-application"
LABEL org.opencontainers.image.description="LedgerSMB is a full featured double-entry financial accounting and Enterprise\
Resource Planning system accessed via a web browser (Perl/JS with a PostgreSQL\
backend) which offers 'Accounts Receivable', 'Accounts Payable' and 'General\
Ledger' tracking as well as inventory control and fixed assets handling. The\
LedgerSMB client can be a web browser or a programmed API call. The goal of\
the LedgerSMB project is to bring high quality ERP and accounting capabilities\
to Small and Midsize Businesses."
ARG LSMB_VERSION="1.9.11" ARG LSMB_VERSION="1.10.24"
ARG LSMB_DL_DIR="Releases" ARG LSMB_DL_DIR="Releases"
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz" ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
@@ -86,7 +94,7 @@ RUN set -x ; \
wget --quiet -O /tmp/ledgersmb-$LSMB_VERSION.tar.gz "$ARTIFACT_LOCATION" && \ wget --quiet -O /tmp/ledgersmb-$LSMB_VERSION.tar.gz "$ARTIFACT_LOCATION" && \
tar -xzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \ tar -xzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
rm -f /tmp/ledgersmb-$LSMB_VERSION.tar.gz && \ rm -f /tmp/ledgersmb-$LSMB_VERSION.tar.gz && \
cpanm --notest \ cpanm --metacpan --notest \
--with-feature=starman \ --with-feature=starman \
--with-feature=latex-pdf-ps \ --with-feature=latex-pdf-ps \
--with-feature=openoffice \ --with-feature=openoffice \

View File

@@ -4,16 +4,20 @@ Dockerfile for LedgerSMB Docker image
# Supported tags # Supported tags
- `1.9`, `1.9.x`, `latest` - Latest official release from the 1.9 branch - `1.11`, `1.11.x`, `latest` - Latest official release from the 1.11 branch
- `1.8`, `1.8.x` - Latest official release from the 1.8 branch - `1.10`, `1.10.x` - Latest official release from the 1.10 branch
- `1.7`, `1.7.x` - Latest official release from 1.7 branch - `1.9`, `1.9.30` - Last official release from the 1.9 branch (End-of-Life)
- `1.6`, `1.6.33` - Last official release from 1.6 branch - `1.8`, `1.8.31` - Last official release from the 1.8 branch (End-of-Life)
- `1.5`, `1.5.30` - Last official release from 1.5 branch - `1.7`, `1.7.41` - Last official release from the 1.7 branch (End-of-Life)
- `1.4`, `1.4.42` - Last official release from 1.4 branch - `1.6`, `1.6.33` - Last official release from the 1.6 branch (End-of-Life)
- `1.5`, `1.5.30` - Last official release from the 1.5 branch (End-of-Life)
- `1.4`, `1.4.42` - Last official release from the 1.4 branch (End-of-Life)
- `master` - Master branch from git, unstable - `master` - Master branch from git, unstable
Containers supporting the development process are provided 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? # What is LedgerSMB?
@@ -48,11 +52,11 @@ or manually with docker only.
## Docker-Compose: Installation and start ## Docker-Compose: Installation and start
This image provides `docker-compose.yml` which can be used to pull related This repository provides a file named `docker-compose.yml` which can be used to
images, install them, establish an internal network for their communications, pull related images, install them, establish an internal network for their
adjust environment variables, start and stop LedgerSMB. The only instructions communications, adjust environment variables, start and stop LedgerSMB. The
required, after the optional edition of the file to adjust the environment only instructions required, after the optional edition of the file to adjust
variables, are: the environment variables, are:
```plain ```plain
$ docker-compose pull $ docker-compose pull
@@ -172,13 +176,30 @@ yet with the deprecation, the abilities have expanded.
The following parameters are now supported to set mail preferences: The following parameters are now supported to set mail preferences:
* `LSMB_MAIL_SMTPHOST` * `LSMB_MAIL_SMTPHOST` \
* `LSMB_MAIL_SMTPPORT` The host name/IP-address of the SMTP server that will forward mail from
* `LSMB_MAIL_SMTPTLS` LedgerSMB to the outside world.
* `LSMB_MAIL_SMTPSENDER_HOSTNAME` * `LSMB_MAIL_SMTPPORT` \
* `LSMB_MAIL_SMTPUSER` The port that the SMTP server in `LSMB_MAIL_SMTPHOST` listens to.
* `LSMB_MAIL_SMTPPASS` * `LSMB_MAIL_SMTPTLS` \
* `LSMB_MAIL_SMTPAUTHMECH` 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 # Advanced setup

View File

@@ -17,12 +17,17 @@
version: "3.2" version: "3.2"
services: services:
proxy: proxy:
depends_on:
- lsmb
image: nginx:1-alpine image: nginx:1-alpine
volumes: volumes:
- "lsmbdata:/srv/ledgersmb" - "lsmbdata:/srv/ledgersmb"
- "./nginx.conf:/etc/nginx/nginx.conf" - "./nginx.conf:/etc/nginx/nginx.conf"
ports: ports:
- "8080:8080" - "8080:8080"
# Comment the line below to stop the container from restarting on boot
# unless it was manually stopped
restart: unless-stopped
lsmb: lsmb:
volumes: volumes:
- "lsmbdata:/srv/ledgersmb" - "lsmbdata:/srv/ledgersmb"

View File

@@ -25,10 +25,13 @@ services:
- internal - internal
volumes: volumes:
- "pgdata:/var/lib/postgresql/data" - "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: lsmb:
depends_on: depends_on:
- postgres - postgres
image: ghcr.io/ledgersmb/ledgersmb:1.9 image: ghcr.io/ledgersmb/ledgersmb:1.10
networks: networks:
- internal - internal
- default - default
@@ -67,6 +70,9 @@ services:
# hosted in a separate container, this setting needs to be adjusted. # hosted in a separate container, this setting needs to be adjusted.
# #
# PROXY_IP: 172.17.0.1/12 # 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 # having the dbdata volume is required to persist our
# data between PostgreSQL container updates; without # data between PostgreSQL container updates; without