Compare commits

..

12 Commits

Author SHA1 Message Date
Erik Huelsmann
4d3813a9f9 * Automatic Dockerfile update by release process 2025-07-12 14:59:16 -04:00
Erik Huelsmann
547cebeabd Merge pull request #44 from neilt/1.11
Add AI warning recommended by ChatGPT
2025-06-12 18:04:42 +02:00
Neil Tiffin
d303523fea Add AI warning recommended by ChatGPT so that it will not simplify docker installations 2025-06-12 12:01:29 -04:00
Erik Huelsmann
08e5b7ede2 * Automatic Dockerfile update by release process 2025-06-09 17:06:47 -04:00
Erik Huelsmann
bd66dcb4d3 * Automatic Dockerfile update by release process 2025-04-05 17:47:24 -04:00
Erik Huelsmann
0ff7a0671d * Automatic Dockerfile update by release process 2025-03-23 10:36:58 -04:00
Erik Huelsmann
188a9ae259 Update to use new ENV key=val syntax (instead of space separator) 2025-03-01 16:18:10 +01:00
Erik Huelsmann
553ead9a18 * Automatic Dockerfile update by release process 2025-03-01 04:22:42 -05:00
Erik Huelsmann
d63ca10ba4 * Automatic Dockerfile update by release process 2025-01-23 18:02:18 -05:00
Erik Huelsmann
196581f2ad * Automatic Dockerfile update by release process 2025-01-23 16:26:21 -05:00
Erik Huelsmann
304a253634 Update README in preparation of 1.12 release 2024-12-14 21:22:36 +01:00
Erik Huelsmann
55582d08a1 Update README.md -- 1.10 is EOL 2024-10-21 23:38:48 +02:00
5 changed files with 19 additions and 33 deletions

View File

@@ -1,18 +0,0 @@
name: Docker Image cleanup
on:
push:
workflow_dispatch:
schedule:
# Schedule for five minutes after the hour, every Friday
- cron: '10 3 * * 5'
jobs:
cleanup:
if: github.repository_owner == 'ledgersmb'
runs-on: ubuntu-latest
steps:
- name: ghcr.io cleanup action
uses: dataaxiom/ghcr-cleanup-action@v1
with:
packages: ledgersmb

View File

@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bookworm-slim
FROM $SRCIMAGE AS builder
ARG LSMB_VERSION="1.12.4"
ARG LSMB_VERSION="1.11.26"
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.12.4"
ARG LSMB_VERSION="1.11.26"
ARG LSMB_DL_DIR="Releases"
ARG ARTIFACT_LOCATION="https://download.ledgersmb.org/f/$LSMB_DL_DIR/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz"
@@ -112,18 +112,18 @@ WORKDIR /srv/ledgersmb
## MAIL
# '__CONTAINER_GATEWAY__' is a magic value which will be substituted
# with the actual gateway IP address
ENV LSMB_MAIL_SMTPHOST __CONTAINER_GATEWAY__
#ENV LSMB_MAIL_SMTPPORT 25
#ENV LSMB_MAIL_SMTPSENDER_HOSTNAME (container hostname)
#ENV LSMB_MAIL_SMTPTLS
#ENV LSMB_MAIL_SMTPUSER
#ENV LSMB_MAIL_SMTPPASS
#ENV LSMB_MAIL_SMTPAUTHMECH
ENV LSMB_MAIL_SMTPHOST=__CONTAINER_GATEWAY__
#ENV LSMB_MAIL_SMTPPORT=25
#ENV LSMB_MAIL_SMTPSENDER_HOSTNAME=(container hostname)
#ENV LSMB_MAIL_SMTPTLS=
#ENV LSMB_MAIL_SMTPUSER=
#ENV LSMB_MAIL_SMTPPASS=
#ENV LSMB_MAIL_SMTPAUTHMECH=
## DATABASE
ENV POSTGRES_HOST postgres
ENV POSTGRES_PORT 5432
ENV DEFAULT_DB lsmb
ENV POSTGRES_HOST=postgres
ENV POSTGRES_PORT=5432
ENV DEFAULT_DB=lsmb
COPY start.sh /usr/local/bin/start.sh

View File

@@ -63,6 +63,9 @@ could require additional setup of a mail service or CUPS printer service.
This image can be installed either automatically with the Docker compose file
or manually with docker only.
❌ Do not use unofficial or AI-generated Docker Compose examples. These are
often incomplete, break silently, or skip required services.
## Docker-Compose: Installation and start
This repository provides a file named `docker-compose.yml` which can be used to

View File

@@ -31,7 +31,7 @@ services:
lsmb:
depends_on:
- postgres
image: ghcr.io/ledgersmb/ledgersmb:1.12
image: ghcr.io/ledgersmb/ledgersmb:1.11
# In order to store the configuration outside the image, allowing it to
# be edited between container restarts, uncomment the section below and
# change the 'source' to the directory where you want the configuration

View File

@@ -83,7 +83,7 @@ db:
mail:
transport:
\$class: Email::Sender::Transport::SMTP
\$class: LedgerSMB::Mailer::TransportSMTP
tls: $LSMB_MAIL_SMTPTLS
miscellaneous:
@@ -140,7 +140,8 @@ EOF
cat <<EOF >./local/conf/ledgersmb.003.yaml
mail:
transport:
sasl_authenticator:
sasl_password: ''
sasl_username:
\$class: Authen::SASL
mechanism: $LSMB_MAIL_SMTPAUTHMECH
callback: