mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-15 08:40:29 -04:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0881bc6275 | ||
|
4b2e28ce0f | ||
|
95d28c1b44 | ||
|
cd7e322f29 | ||
|
e29aa14d57 |
18
Dockerfile
18
Dockerfile
@@ -1,11 +1,14 @@
|
|||||||
FROM debian:jessie
|
FROM debian:jessie
|
||||||
MAINTAINER Freelock john@freelock.com
|
MAINTAINER Freelock john@freelock.com
|
||||||
|
|
||||||
RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >> /etc/apt/apt.conf
|
# Build time variables
|
||||||
|
ENV LSMB_VERSION 1.5.16
|
||||||
|
|
||||||
|
|
||||||
# Install Perl, Tex, Starman, psql client, and all dependencies
|
# Install Perl, Tex, Starman, psql client, and all dependencies
|
||||||
# Without libclass-c3-xs-perl, performance is terribly slow...
|
# Without libclass-c3-xs-perl, performance is terribly slow...
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >> /etc/apt/apt.conf && \
|
||||||
|
DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
apt-get dist-upgrade -y && apt-get -y install \
|
apt-get dist-upgrade -y && apt-get -y install \
|
||||||
libcgi-emulate-psgi-perl libcgi-simple-perl libconfig-inifiles-perl \
|
libcgi-emulate-psgi-perl libcgi-simple-perl libconfig-inifiles-perl \
|
||||||
libdbd-pg-perl libdbi-perl libdatetime-perl \
|
libdbd-pg-perl libdbi-perl libdatetime-perl \
|
||||||
@@ -25,15 +28,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|||||||
libopenoffice-oodoc-perl \
|
libopenoffice-oodoc-perl \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
ssmtp \
|
ssmtp \
|
||||||
lsb-release \
|
lsb-release && \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||||
|
|
||||||
|
|
||||||
# Build time variables
|
|
||||||
ENV LSMB_VERSION 1.5.14
|
|
||||||
|
|
||||||
# Install LedgerSMB
|
|
||||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|
||||||
apt-get -y install git cpanminus make gcc libperl-dev && \
|
apt-get -y install git cpanminus make gcc libperl-dev && \
|
||||||
curl -Lo /tmp/ledgersmb-$LSMB_VERSION.tar.gz "https://download.ledgersmb.org/f/Releases/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz" && \
|
curl -Lo /tmp/ledgersmb-$LSMB_VERSION.tar.gz "https://download.ledgersmb.org/f/Releases/$LSMB_VERSION/ledgersmb-$LSMB_VERSION.tar.gz" && \
|
||||||
tar -xvzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
|
tar -xvzf /tmp/ledgersmb-$LSMB_VERSION.tar.gz --directory /srv && \
|
||||||
|
21
README.md
21
README.md
@@ -118,14 +118,14 @@ without needing to enter the name of that database on the login.pl login screen.
|
|||||||
|
|
||||||
## Mail configuration
|
## Mail configuration
|
||||||
|
|
||||||
* `SSMTP_ROOT`
|
* `SSMTP_ROOT` (config: `Root`)
|
||||||
* `SSMTP_MAILHUB`
|
* `SSMTP_MAILHUB` (config: `Mailhub`)
|
||||||
* `SSMTP_HOSTNAME`
|
* `SSMTP_HOSTNAME` (config: `Hostname`)
|
||||||
* `SSMTP_USE_STARTTLS`
|
* `SSMTP_USE_STARTTLS` (config: `UseSTARTTLS`)
|
||||||
* `SSMTP_AUTH_USER`
|
* `SSMTP_AUTH_USER` (config: `AuthUser`)
|
||||||
* `SSMTP_AUTH_PASS`
|
* `SSMTP_AUTH_PASS` (config: `AuthPass`)
|
||||||
* `SSMTP_METHOD`
|
* `SSMTP_AUTH_METHOD` (config: `AuthMethod`)
|
||||||
* `SSMTP_FROMLINE_OVERRIDE`
|
* `SSMTP_FROMLINE_OVERRIDE` (config: `FromLineOverride`)
|
||||||
|
|
||||||
These variables are used to set outgoing SMTP defaults.
|
These variables are used to set outgoing SMTP defaults.
|
||||||
|
|
||||||
@@ -137,6 +137,9 @@ already configured to relay mail, this should relay successfully with only
|
|||||||
the root and hostname set.
|
the root and hostname set.
|
||||||
|
|
||||||
Use the other environment variables to relay mail through a different host.
|
Use the other environment variables to relay mail through a different host.
|
||||||
|
Use the [ssmtp.conf man
|
||||||
|
page](https://www.systutorials.com/docs/linux/man/5-ssmtp.conf/) to look up
|
||||||
|
the meaning and function of each of the mail configuration keys.
|
||||||
|
|
||||||
# Troubleshooting/Developing
|
# Troubleshooting/Developing
|
||||||
|
|
||||||
@@ -150,7 +153,7 @@ and the startup & config script is /usr/bin/start.sh.
|
|||||||
|
|
||||||
If you have any problems with or questions about this image or LedgerSMB, please contact us on the [mailing list](http://ledgersmb.org/topic/support/mailing-lists-rss-and-nntp-feeds) or through a [GitHub issue](https://github.com/ledgersmb/ledgersmb-docker/issues).
|
If you have any problems with or questions about this image or LedgerSMB, please contact us on the [mailing list](http://ledgersmb.org/topic/support/mailing-lists-rss-and-nntp-feeds) or through a [GitHub issue](https://github.com/ledgersmb/ledgersmb-docker/issues).
|
||||||
|
|
||||||
You can also reach some of the official LedgerSMB maintainers via the `#ledgersmb` IRC channel on [Freenode](https://freenode.net), or on the bridged [Matrix](https://matrix.org) room in [#ledgersmb:matrix.org](https://matrix.to/#/#ledgersmb:matrix.org). The [Vector.im](https://vector.im/beta/#/room/#ledgersmb:matrix.org) Matrix client is highly recommended.
|
You can also reach some of the official LedgerSMB maintainers via the `#ledgersmb` IRC channel on [Freenode](https://freenode.net), or on the bridged [Matrix](https://matrix.org) room in [#ledgersmb:matrix.org](https://matrix.to/#/#ledgersmb:matrix.org). The [Riot.im](https://riot.im/app/#/room/#ledgersmb:matrix.org) Matrix client is highly recommended.
|
||||||
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
Reference in New Issue
Block a user