Move docker-compose instructions upward and pull images instead of building

This commit is contained in:
Yves Lavoie 2018-06-13 12:22:50 -04:00
parent 892592505f
commit 13b4e0f933

View File

@ -37,8 +37,22 @@ 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 manually by following the steps below or This image can be installed either automatically with the Docker compose file
automatically with the Docker compose file. manually with docker only.
## Docker-Compose installation and start
This image provides `docker-compose.yml` which can be used to pull related
images, install them, establish an internal network for their communications,
adjust environment variables, start and stop LedgerSMB. The only instructions
required, after the optional edition of the file to adjust the environment
variables, are:
```plain
$ docker-compose pull
$ docker-compose up
```
## Manual installation ## Manual installation
@ -77,20 +91,6 @@ This command maps port 5762 of your container to port 5762 in your host. The
web application inside the container should now be accessible through web application inside the container should now be accessible through
http://localhost:5762/setup.pl. http://localhost:5762/setup.pl.
## Docker-Compose installation and start
This image provides `docker-compose.yml` which can be used to pull related
images, install them, establish an internal network for their communications,
adjust environment variables, start and stop LedgerSMB. The only instructions
required, after the optional edition of the file to adjust the environment
variables, are:
```plain
$ docker-compose build
$ docker-compose up
```
# Set up LedgerSMB # Set up LedgerSMB
* Visit http://myledger:5762/setup.pl. * Visit http://myledger:5762/setup.pl.