mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 16:20:29 -04:00
Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
5670f5760f | ||
|
4fb8f0fba8 | ||
|
e329f0617a | ||
|
ac2d4a8ae3 | ||
|
e254cb705c | ||
|
5849b64fde | ||
|
791df8fd1f | ||
|
5110bfcbbc |
@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bookworm-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.11.10"
|
ARG LSMB_VERSION="1.11.15"
|
||||||
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.11.10"
|
ARG LSMB_VERSION="1.11.15"
|
||||||
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"
|
||||||
|
|
||||||
@@ -84,8 +84,8 @@ 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 -) && \
|
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 && \
|
||||||
|
@@ -243,10 +243,10 @@ the standard configuration generation process in the container can be overruled:
|
|||||||
|
|
||||||
If you do not want to completely overrule the configuration generated, but instead
|
If you do not want to completely overrule the configuration generated, but instead
|
||||||
supplement the configuration, you can put incremental configuration snippets in
|
supplement the configuration, you can put incremental configuration snippets in
|
||||||
files named `ledgersmb.XXX.yaml` in the same folder. E.g.:
|
files named `ledgersmb.1XX.yaml` in the same folder. E.g.:
|
||||||
|
|
||||||
```plain
|
```plain
|
||||||
$ cat <<EOF > /home/ledgersmb/conf/ledgersmb.001.yaml
|
$ cat <<EOF > /home/ledgersmb/conf/ledgersmb.100.yaml
|
||||||
logging:
|
logging:
|
||||||
file: ledgersmb.logging
|
file: ledgersmb.logging
|
||||||
EOF
|
EOF
|
||||||
|
@@ -37,9 +37,14 @@ services:
|
|||||||
# change the 'source' to the directory where you want the configuration
|
# change the 'source' to the directory where you want the configuration
|
||||||
# to be stored.
|
# to be stored.
|
||||||
# volumes:
|
# volumes:
|
||||||
|
# # Override all configuration:
|
||||||
# - type: bind
|
# - type: bind
|
||||||
# source: /home/ledgersmb/conf
|
# source: /home/ledgersmb/conf
|
||||||
# target: /srv/ledgersmb/local/conf
|
# target: /srv/ledgersmb/local/conf
|
||||||
|
# # Add a snippet of configuration:
|
||||||
|
# - type: bind
|
||||||
|
# source: /home/ledgersmb/conf/ledgersmb.100.yaml
|
||||||
|
# target: /srv/ledgersmb/local/conf/ledgersmb.100.yaml
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- default
|
- default
|
||||||
|
Reference in New Issue
Block a user