Markup fixes for README.md

This commit is contained in:
Jonas Schäfer 2020-01-31 15:07:21 +01:00 committed by GitHub
parent 5c66949ccf
commit 9e15ca8f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,21 +11,25 @@ Docker images.
## Building ## Building
Run 'make' Run `make`
## Running ## Running
The easiest way is to use docker-compose. Copy the file `snikket.conf.example` to The easiest way is to use docker-compose. Copy the file `snikket.conf.example` to
`snikket.conf` and edit the values in it. Then run: `snikket.conf` and edit the values in it. Then run:
docker-compose up -d ```console
docker-compose up -d
```
If you need to change port mappings or any other advanced options, you can edit the If you need to change port mappings or any other advanced options, you can edit the
docker-compse.yml file. `docker-compse.yml` file.
Alternatively you can run docker manually with something like the following: Alternatively you can run docker manually with something like the following:
```console
docker run --env-file=snikket.conf -p 80:5280 -p 443:5281 -p 5222:5222 -p 5269:5269 snikket docker run --env-file=snikket.conf -p 80:5280 -p 443:5281 -p 5222:5222 -p 5269:5269 snikket
```
## Development ## Development
@ -37,7 +41,7 @@ Outgoing emails from dev images are captured by a local [MailHog](https://github
instance and are accessible in a dashboard served on port 8025. The dashboard requires authentication. instance and are accessible in a dashboard served on port 8025. The dashboard requires authentication.
The username is 'snikket' and the auto-generated password can be found with the following command: The username is 'snikket' and the auto-generated password can be found with the following command:
``` ```console
docker exec snikket_snikket_1 cat /tmp/mailhog-password docker exec snikket_snikket_1 cat /tmp/mailhog-password
``` ```