Add docker in the quick start
This commit is contained in:
parent
7020ecf7ae
commit
eaa0bbd347
1 changed files with 19 additions and 0 deletions
|
@ -51,6 +51,16 @@ USAGE:
|
|||
...
|
||||
```
|
||||
|
||||
If you use Docker, you can get the same result with:
|
||||
|
||||
```bash
|
||||
docker run --network host dxflrs/aerogramme:0.2.0 aerogramme
|
||||
```
|
||||
|
||||
*Using host network is not required for this example, but it will be useful for the following,
|
||||
as, by default, Aerogramme often binds on localhost, and thus its sockets are not available
|
||||
outside of the container even if you bind the correct ports.*
|
||||
|
||||
## Starting the daemon in development mode
|
||||
|
||||
To start an in-memory daemon for evaluation purposes, you don't need any configuration file. Just run:
|
||||
|
@ -59,6 +69,15 @@ To start an in-memory daemon for evaluation purposes, you don't need any configu
|
|||
aerogramme --dev provider daemon
|
||||
```
|
||||
|
||||
If you use the docker container, you must launch:
|
||||
|
||||
```bash
|
||||
docker run --network host dxflrs/aerogramme:0.2.0 aerogramme --dev provider daemon
|
||||
```
|
||||
|
||||
*Starting from now, docker commands will not be given anymore. We assume that you have understood the pattern
|
||||
on how to map the documentation commands to Docker.*
|
||||
|
||||
Now Aerogramme is listening for IMAP on `[::1]:1143` and for LMTP on port `[::1]:1025`. A test account has been created with username `alice` and password `hunter2`.
|
||||
|
||||
<!--
|
||||
|
|
Loading…
Reference in a new issue