README: add docker-compose instructions

master
pictuga 2020-07-13 20:50:39 +02:00
vecāks 6021b912ff
revīzija c628ee802c
1 mainītis faili ar 16 papildinājumiem un 0 dzēšanām

Parādīt failu

@ -168,6 +168,22 @@ In one line
docker run -p 8080:8080 $(docker build -q https://git.pictuga.com/pictuga/morss.git)
```
With docker-compose:
```yml
services:
app:
build: https://git.pictuga.com/pictuga/morss.git
ports:
- '8080:8080'
```
Then run
```shell
docker-compose up --build
```
#### Using morss' internal HTTP server
Morss can run its own HTTP server. The later should start when you run morss