Update README.md

This commit is contained in:
Erik Huelsmann 2021-08-17 13:50:41 +02:00 committed by GitHub
parent 4f5f8e8cbf
commit 955812f36b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,13 +55,25 @@ variables, are:
```plain ```plain
$ docker-compose pull $ docker-compose pull
$ docker-compose up $ docker-compose up -d
``` ```
This will set up two containers: (1) a PostgreSQL container with persistent This will set up two containers: (1) a PostgreSQL container with persistent
storage which is retained between container updates and (2) a LedgerSMB storage which is retained between container updates and (2) a LedgerSMB
container configured to connect to the PostgreSQL container as its database container configured to connect to the PostgreSQL container as its database
server. server. The containers will be running in the background and can be stopped
and started by running:
```plain
# Stopping the containers
$ docker-compose stop
# Starting the containers
$ docker-compose start
```
(Check the status of the containers using `docker-compose ps`; when the
containers are running, the `State` column shows `Up`.)
The database username and password are: The database username and password are: