mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 16:20:29 -04:00
Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
11baa4c0a0 | ||
|
7e914dbfd1 | ||
|
1a1d294e31 | ||
|
44b544c8ba | ||
|
5dc7176b3f | ||
|
f25dee9473 | ||
|
0332a27535 | ||
|
19c6b2d6df | ||
|
6ff37dc952 | ||
|
da234d021d | ||
|
ffb7ff1a09 | ||
|
966c1fd043 | ||
|
ba98f4c5c0 | ||
|
20bd26798a | ||
|
f4bc2c874f |
@@ -2,7 +2,7 @@ FROM debian:stretch-slim
|
|||||||
MAINTAINER Freelock john@freelock.com
|
MAINTAINER Freelock john@freelock.com
|
||||||
|
|
||||||
# Build time variables
|
# Build time variables
|
||||||
ARG LSMB_VERSION="1.7.12"
|
ARG LSMB_VERSION="1.7.24"
|
||||||
ARG LSMB_DL_DIR="Releases"
|
ARG LSMB_DL_DIR="Releases"
|
||||||
|
|
||||||
# Install Perl, Tex, Starman, psql client, and all dependencies
|
# Install Perl, Tex, Starman, psql client, and all dependencies
|
||||||
@@ -54,7 +54,7 @@ RUN echo -n "APT::Install-Recommends \"0\";\nAPT::Install-Suggests \"0\";\n" >>
|
|||||||
libtemplate-plugin-latex-perl libtex-encode-perl \
|
libtemplate-plugin-latex-perl libtex-encode-perl \
|
||||||
libclass-c3-xs-perl libclass-accessor-lite-perl \
|
libclass-c3-xs-perl libclass-accessor-lite-perl \
|
||||||
libnet-cidr-lite-perl \
|
libnet-cidr-lite-perl \
|
||||||
texlive-latex-recommended \
|
texlive-latex-recommended texlive-fonts-recommended \
|
||||||
texlive-xetex fonts-liberation \
|
texlive-xetex fonts-liberation \
|
||||||
starman \
|
starman \
|
||||||
libopenoffice-oodoc-perl \
|
libopenoffice-oodoc-perl \
|
||||||
|
10
README.md
10
README.md
@@ -4,6 +4,7 @@ Dockerfile for LedgerSMB Docker image
|
|||||||
|
|
||||||
# Supported tags
|
# Supported tags
|
||||||
|
|
||||||
|
- `1.8` - Preview version for the 1.8 branch
|
||||||
- `1.7`, `1.7.x`, `latest` - Latest official release from 1.7 branch
|
- `1.7`, `1.7.x`, `latest` - Latest official release from 1.7 branch
|
||||||
- `1.6`, `1.6.x` - Latest official release from 1.6 branch
|
- `1.6`, `1.6.x` - Latest official release from 1.6 branch
|
||||||
- `1.5`, `1.5.30` - Last official release from 1.5 branch
|
- `1.5`, `1.5.30` - Last official release from 1.5 branch
|
||||||
@@ -28,9 +29,9 @@ This image is designed to be used in conjunction with a running PostgreSQL
|
|||||||
instance (such as may be provided through a separate image).
|
instance (such as may be provided through a separate image).
|
||||||
|
|
||||||
This image exposes port 5762 running a Starman HTTP application server. We
|
This image exposes port 5762 running a Starman HTTP application server. We
|
||||||
do not recommend exposing this port publicly, because
|
do recommend not exposing this port publicly, because
|
||||||
|
|
||||||
1. The Starman author recommends it
|
1. The Starman author recommends not exposing it
|
||||||
2. We strongly recommend TLS encryption of all application traffic
|
2. We strongly recommend TLS encryption of all application traffic
|
||||||
|
|
||||||
While the exposed port can be used for quick evaluation, it's recommended
|
While the exposed port can be used for quick evaluation, it's recommended
|
||||||
@@ -42,7 +43,7 @@ could require additional setup of a mail service or CUPS printer service.
|
|||||||
# How to use this image
|
# How to use this image
|
||||||
|
|
||||||
This image can be installed either automatically with the Docker compose file
|
This image can be installed either automatically with the Docker compose file
|
||||||
manually with docker only.
|
or manually with docker only.
|
||||||
|
|
||||||
## Docker-Compose installation and start
|
## Docker-Compose installation and start
|
||||||
|
|
||||||
@@ -69,6 +70,9 @@ The database username and password are:
|
|||||||
password: abc
|
password: abc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
From here, follow the steps as detailed in the instructions for
|
||||||
|
[preparing for first use](https://ledgersmb.org/content/preparing-ledgersmb-17-first-use).
|
||||||
|
|
||||||
## Manual installation
|
## Manual installation
|
||||||
|
|
||||||
This section assumes availability of a PostgreSQL server to attach to the
|
This section assumes availability of a PostgreSQL server to attach to the
|
||||||
|
@@ -32,14 +32,8 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- default
|
- default
|
||||||
# Uncomment the 'ports' section to map the LedgerSMB container port (5762)
|
ports:
|
||||||
# to the host's port of the same number, thus making LedgerSMB
|
- "127.0.0.1:5762:5762"
|
||||||
# available on http://<host-dns-or-ip>:5762/
|
|
||||||
# SECURITY NOTE: Do this for evaluation purposes only!
|
|
||||||
# In production, be sure to use SSL/TLS to protect user's passwords
|
|
||||||
# and other sensitive data
|
|
||||||
# ports:
|
|
||||||
# - "5762:5762"
|
|
||||||
environment:
|
environment:
|
||||||
# The LSMB_WORKERS environment variable lets you select the number
|
# The LSMB_WORKERS environment variable lets you select the number
|
||||||
# of processes serving HTTP requests. The default number of 2 workers
|
# of processes serving HTTP requests. The default number of 2 workers
|
||||||
|
Reference in New Issue
Block a user