mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 16:20:29 -04:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
942b098a7f | ||
|
50cdfc2145 | ||
|
6c1602051f | ||
|
7e937b8e8c | ||
|
86885f20f7 | ||
|
7af784a491 | ||
|
d2b7939206 | ||
|
5226a66d35 | ||
|
40a2a27902 | ||
|
880df4b5ad |
18
.github/workflows/images-cleanup.yml
vendored
Normal file
18
.github/workflows/images-cleanup.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
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
|
@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bookworm-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.11.20"
|
ARG LSMB_VERSION="1.12.4"
|
||||||
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.20"
|
ARG LSMB_VERSION="1.12.4"
|
||||||
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"
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@ services:
|
|||||||
lsmb:
|
lsmb:
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
image: ghcr.io/ledgersmb/ledgersmb:1.11
|
image: ghcr.io/ledgersmb/ledgersmb:1.12
|
||||||
# In order to store the configuration outside the image, allowing it to
|
# In order to store the configuration outside the image, allowing it to
|
||||||
# be edited between container restarts, uncomment the section below and
|
# be edited between container restarts, uncomment the section below and
|
||||||
# change the 'source' to the directory where you want the configuration
|
# change the 'source' to the directory where you want the configuration
|
||||||
|
5
start.sh
5
start.sh
@@ -83,7 +83,7 @@ db:
|
|||||||
|
|
||||||
mail:
|
mail:
|
||||||
transport:
|
transport:
|
||||||
\$class: LedgerSMB::Mailer::TransportSMTP
|
\$class: Email::Sender::Transport::SMTP
|
||||||
tls: $LSMB_MAIL_SMTPTLS
|
tls: $LSMB_MAIL_SMTPTLS
|
||||||
|
|
||||||
miscellaneous:
|
miscellaneous:
|
||||||
@@ -140,8 +140,7 @@ EOF
|
|||||||
cat <<EOF >./local/conf/ledgersmb.003.yaml
|
cat <<EOF >./local/conf/ledgersmb.003.yaml
|
||||||
mail:
|
mail:
|
||||||
transport:
|
transport:
|
||||||
sasl_password: ''
|
sasl_authenticator:
|
||||||
sasl_username:
|
|
||||||
\$class: Authen::SASL
|
\$class: Authen::SASL
|
||||||
mechanism: $LSMB_MAIL_SMTPAUTHMECH
|
mechanism: $LSMB_MAIL_SMTPAUTHMECH
|
||||||
callback:
|
callback:
|
||||||
|
Reference in New Issue
Block a user