Compare commits

..

1 Commits

Author SHA1 Message Date
Erik Huelsmann
cc7e316845 * Automatic Dockerfile update by release process 2022-08-24 03:24:56 -04:00
5 changed files with 23 additions and 80 deletions

View File

@@ -1,25 +0,0 @@
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.10.30" ARG LSMB_VERSION="1.9.16"
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.30" ARG LSMB_VERSION="1.9.16"
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"
@@ -94,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 --metacpan --notest \ cpanm --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,20 +4,16 @@ Dockerfile for LedgerSMB Docker image
# Supported tags # Supported tags
- `1.11`, `1.11.x`, `latest` - Latest official release from the 1.11 branch - `1.9`, `1.9.x`, `latest` - Latest official release from the 1.9 branch
- `1.10`, `1.10.x` - Latest official release from the 1.10 branch - `1.8`, `1.8.x` - Latest official release from the 1.8 branch
- `1.9`, `1.9.30` - Last official release from the 1.9 branch (End-of-Life) - `1.7`, `1.7.x` - Latest official release from 1.7 branch
- `1.8`, `1.8.31` - Last official release from the 1.8 branch (End-of-Life) - `1.6`, `1.6.33` - Last official release from 1.6 branch
- `1.7`, `1.7.41` - Last official release from the 1.7 branch (End-of-Life) - `1.5`, `1.5.30` - Last official release from 1.5 branch
- `1.6`, `1.6.33` - Last official release from the 1.6 branch (End-of-Life) - `1.4`, `1.4.42` - Last official release from 1.4 branch
- `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 [the development through the ledgersmb-dev-docker project. See https://github.com/ledgersmb/ledgersmb-dev-docker/blob/master/README.md#getting-started.
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?
@@ -52,11 +48,11 @@ or manually with docker only.
## Docker-Compose: Installation and start ## Docker-Compose: Installation and start
This repository provides a file named `docker-compose.yml` which can be used to This image provides `docker-compose.yml` which can be used to pull related
pull related images, install them, establish an internal network for their images, install them, establish an internal network for their communications,
communications, adjust environment variables, start and stop LedgerSMB. The adjust environment variables, start and stop LedgerSMB. The only instructions
only instructions required, after the optional edition of the file to adjust required, after the optional edition of the file to adjust the environment
the environment variables, are: variables, are:
```plain ```plain
$ docker-compose pull $ docker-compose pull
@@ -176,30 +172,13 @@ 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`
The host name/IP-address of the SMTP server that will forward mail from * `LSMB_MAIL_SMTPPORT`
LedgerSMB to the outside world. * `LSMB_MAIL_SMTPTLS`
* `LSMB_MAIL_SMTPPORT` \ * `LSMB_MAIL_SMTPSENDER_HOSTNAME`
The port that the SMTP server in `LSMB_MAIL_SMTPHOST` listens to. * `LSMB_MAIL_SMTPUSER`
* `LSMB_MAIL_SMTPTLS` \ * `LSMB_MAIL_SMTPPASS`
Can be one of `no` (default), `yes` or `raw`. `yes` indicates to use * `LSMB_MAIL_SMTPAUTHMECH`
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,17 +17,12 @@
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,13 +25,10 @@ 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.10 image: ghcr.io/ledgersmb/ledgersmb:1.9
networks: networks:
- internal - internal
- default - default
@@ -70,9 +67,6 @@ 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