README: add docker-compose instructions
parent
6021b912ff
commit
c628ee802c
16
README.md
16
README.md
|
@ -168,6 +168,22 @@ In one line
|
||||||
docker run -p 8080:8080 $(docker build -q https://git.pictuga.com/pictuga/morss.git)
|
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
|
#### Using morss' internal HTTP server
|
||||||
|
|
||||||
Morss can run its own HTTP server. The later should start when you run morss
|
Morss can run its own HTTP server. The later should start when you run morss
|
||||||
|
|
Loading…
Reference in New Issue