Compare commits

...

42 Commits

Author SHA1 Message Date
Erik Huelsmann
385e9bccd6 * Automatic Dockerfile update by release process 2024-05-06 16:37:19 -04:00
Erik Huelsmann
e36baa2eed * Automatic Dockerfile update by release process 2024-04-26 08:00:23 -04:00
Erik Huelsmann
364c7b55d8 Eliminate apt-key deprecation warning 2024-04-09 21:43:02 +02:00
Erik Huelsmann
d664ef37e3 * Automatic Dockerfile update by release process 2024-04-07 13:53:58 -04:00
Erik Huelsmann
43dde71ab5 * Automatic Dockerfile update by release process 2024-03-14 16:53:37 -04:00
Erik Huelsmann
b605d7a13f * Automatic Dockerfile update by release process 2024-02-15 14:50:05 -05:00
Erik Huelsmann
2b9cc67c97 * Automatic Dockerfile update by release process 2024-02-02 10:39:17 -05:00
Erik Huelsmann
1041c71942 * Automatic Dockerfile update by release process 2024-02-02 09:06:44 -05:00
Erik Huelsmann
69920510c5 * Automatic Dockerfile update by release process 2024-01-13 15:03:32 -05:00
Erik Huelsmann
7f4ea3d2fd * Automatic Dockerfile update by release process 2023-12-30 17:10:42 -05:00
Erik Huelsmann
901bd3ece8 * Automatic Dockerfile update by release process 2023-12-15 16:17:25 -05:00
Erik Huelsmann
749c7fd461 * Automatic Dockerfile update by release process 2023-12-09 05:56:44 -05:00
Erik Huelsmann
6a1ff9096d * Automatic Dockerfile update by release process 2023-11-11 17:20:56 -05:00
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
5 changed files with 70 additions and 15 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
ARG LSMB_VERSION="1.10.5"
ARG LSMB_VERSION="1.10.36"
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.10.5"
ARG LSMB_VERSION="1.10.36"
ARG LSMB_DL_DIR="Releases"
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
@@ -86,15 +86,16 @@ RUN set -x ; \
texlive-plain-generic texlive-latex-recommended texlive-fonts-recommended \
texlive-xetex fonts-liberation \
lsb-release && \
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
(wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -) && \
echo "deb [signed-by=/etc/apt/keyrings/postgresql.asc] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
mkdir -p /etc/apt/keyrings && \
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc > /etc/apt/keyrings/postgresql.asc && \
DEBIAN_FRONTEND="noninteractive" apt-get -y update && \
DEBIAN_FRONTEND="noninteractive" apt-get -y install postgresql-client && \
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install git cpanminus make gcc libperl-dev && \
wget --quiet -O /tmp/ledgersmb-$LSMB_VERSION.tar.gz "$ARTIFACT_LOCATION" && \
tar -xzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
rm -f /tmp/ledgersmb-$LSMB_VERSION.tar.gz && \
cpanm --notest \
cpanm --metacpan --notest \
--with-feature=starman \
--with-feature=latex-pdf-ps \
--with-feature=openoffice \

View File

@@ -4,8 +4,9 @@ Dockerfile for LedgerSMB Docker image
# Supported tags
- `1.10`, `1.10.x`, `latest` - Latest official release from the 1.10 branch
- `1.9`, `1.9.x` - Latest official release from the 1.9 branch
- `1.11`, `1.11.x`, `latest` - Latest official release from the 1.11 branch
- `1.10`, `1.10.x` - Latest official release from the 1.10 branch
- `1.9`, `1.9.30` - Last official release from the 1.9 branch (End-of-Life)
- `1.8`, `1.8.31` - Last official release from the 1.8 branch (End-of-Life)
- `1.7`, `1.7.41` - Last official release from the 1.7 branch (End-of-Life)
- `1.6`, `1.6.33` - Last official release from the 1.6 branch (End-of-Life)
@@ -51,7 +52,7 @@ or manually with docker only.
## Docker-Compose: Installation and start
This image provides a file named `docker-compose.yml` which can be used to
This repository 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
@@ -175,13 +176,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

View File

@@ -17,12 +17,17 @@
version: "3.2"
services:
proxy:
depends_on:
- lsmb
image: nginx:1-alpine
volumes:
- "lsmbdata:/srv/ledgersmb"
- "./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"

View File

@@ -25,6 +25,9 @@ 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
@@ -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