mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-10-14 16:20:29 -04:00
Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8a67a6f918 | ||
|
fa1ce9866c | ||
|
f4dc5baa8d | ||
|
f4e951bf5c | ||
|
d37331758d | ||
|
fc3a76576c | ||
|
21fd38d268 | ||
|
b540438bca | ||
|
4c11eb8db5 | ||
|
f475330713 | ||
|
8484d53f3a | ||
|
ed3a48cf02 | ||
|
56da1eb464 | ||
|
cc7e316845 |
@@ -5,7 +5,7 @@ ARG SRCIMAGE=debian:bullseye-slim
|
|||||||
|
|
||||||
FROM $SRCIMAGE AS builder
|
FROM $SRCIMAGE AS builder
|
||||||
|
|
||||||
ARG LSMB_VERSION="1.10.7"
|
ARG LSMB_VERSION="1.9.26"
|
||||||
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.7"
|
ARG LSMB_VERSION="1.9.26"
|
||||||
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"
|
||||||
|
|
||||||
|
16
README.md
16
README.md
@@ -14,9 +14,7 @@ Dockerfile for LedgerSMB Docker image
|
|||||||
- `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?
|
||||||
|
|
||||||
@@ -51,11 +49,11 @@ or manually with docker only.
|
|||||||
|
|
||||||
## Docker-Compose: Installation and start
|
## Docker-Compose: Installation and start
|
||||||
|
|
||||||
This image 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
|
||||||
@@ -110,7 +108,7 @@ like `POSTGRES_HOST` above.
|
|||||||
|
|
||||||
# Set up LedgerSMB
|
# Set up LedgerSMB
|
||||||
|
|
||||||
* Visit http://myledger:5762/setup.pl.
|
* Visit http://localhost:5762/setup.pl.
|
||||||
* Log in with the "postgres" user and the password `abc` as given above -
|
* Log in with the "postgres" user and the password `abc` as given above -
|
||||||
or with the credentials of your own database server in case of a manual
|
or with the credentials of your own database server in case of a manual
|
||||||
setup - and provide the name of a company (= database name) you want to
|
setup - and provide the name of a company (= database name) you want to
|
||||||
|
@@ -25,9 +25,6 @@ services:
|
|||||||
- "./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"
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user