mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 16:20:29 -04:00
Compare commits
44 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
385e9bccd6 | ||
|
e36baa2eed | ||
|
364c7b55d8 | ||
|
d664ef37e3 | ||
|
43dde71ab5 | ||
|
b605d7a13f | ||
|
2b9cc67c97 | ||
|
1041c71942 | ||
|
69920510c5 | ||
|
7f4ea3d2fd | ||
|
901bd3ece8 | ||
|
749c7fd461 | ||
|
6a1ff9096d | ||
|
3fae7e9c67 | ||
|
f9fbfba57a | ||
|
6cfa72e29a | ||
|
d39a26f0f3 | ||
|
0215a3442a | ||
|
05429770c5 | ||
|
a12afdf3b0 | ||
|
9a8ee86b71 | ||
|
fb8e60f24c | ||
|
5d4727641f | ||
|
c7d22e2b6e | ||
|
aa1cdc2dca | ||
|
1d1e029a71 | ||
|
06941025cd | ||
|
723202b5c4 | ||
|
59a542afc8 | ||
|
5b098c7b49 | ||
|
71e067d0a7 | ||
|
9f4b6b8580 | ||
|
3177ab415e | ||
|
7a2e6174a5 | ||
|
c9b8719897 | ||
|
deeecbcdf1 | ||
|
e41eefd1c0 | ||
|
b247132333 | ||
|
82fdc70f05 | ||
|
16e22ab5b6 | ||
|
2fd0e3a899 | ||
|
2c6e26e41c | ||
|
8abfb47e09 | ||
|
c139863c85 |
25
.github/workflows/no-response.yml
vendored
Normal file
25
.github/workflows/no-response.yml
vendored
Normal 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.
|
11
Dockerfile
11
Dockerfile
@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bullseye-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.10.4"
|
ARG LSMB_VERSION="1.10.36"
|
||||||
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"
|
||||||
|
|
||||||
@@ -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\
|
the LedgerSMB project is to bring high quality ERP and accounting capabilities\
|
||||||
to Small and Midsize Businesses."
|
to Small and Midsize Businesses."
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.10.4"
|
ARG LSMB_VERSION="1.10.36"
|
||||||
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,15 +86,16 @@ RUN set -x ; \
|
|||||||
texlive-plain-generic texlive-latex-recommended texlive-fonts-recommended \
|
texlive-plain-generic texlive-latex-recommended texlive-fonts-recommended \
|
||||||
texlive-xetex fonts-liberation \
|
texlive-xetex fonts-liberation \
|
||||||
lsb-release && \
|
lsb-release && \
|
||||||
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
|
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 && \
|
||||||
(wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -) && \
|
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 update && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get -y install postgresql-client && \
|
DEBIAN_FRONTEND="noninteractive" apt-get -y install postgresql-client && \
|
||||||
DEBIAN_FRONTEND="noninteractive" apt-get -q -y install git cpanminus make gcc libperl-dev && \
|
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" && \
|
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 \
|
||||||
|
38
README.md
38
README.md
@@ -4,8 +4,9 @@ Dockerfile for LedgerSMB Docker image
|
|||||||
|
|
||||||
# Supported tags
|
# Supported tags
|
||||||
|
|
||||||
- `1.10`, `1.10.x`, `latest` - Latest official release from the 1.10 branch
|
- `1.11`, `1.11.x`, `latest` - Latest official release from the 1.11 branch
|
||||||
- `1.9`, `1.9.x` - Latest official release from the 1.9 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.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.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)
|
- `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
|
## 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
|
pull related images, install them, establish an internal network for their
|
||||||
communications, adjust environment variables, start and stop LedgerSMB. The
|
communications, adjust environment variables, start and stop LedgerSMB. The
|
||||||
only instructions required, after the optional edition of the file to adjust
|
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:
|
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
|
||||||
|
|
||||||
|
@@ -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"
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user