README: docker hub instructions
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
aa2b747c5e
commit
18daf378e8
34
README.md
34
README.md
|
@ -86,13 +86,33 @@ it with the system package manager.
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
Build
|
From docker hub
|
||||||
|
|
||||||
|
With cli
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker pull pictuga/morss
|
||||||
|
```
|
||||||
|
|
||||||
|
With docker-compose
|
||||||
|
|
||||||
|
```yml
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: pictuga/morss
|
||||||
|
ports:
|
||||||
|
- '8000:8000'
|
||||||
|
```
|
||||||
|
|
||||||
|
Build from source
|
||||||
|
|
||||||
|
With cli
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker build --tag morss https://git.pictuga.com/pictuga/morss.git --no-cache --pull
|
docker build --tag morss https://git.pictuga.com/pictuga/morss.git --no-cache --pull
|
||||||
```
|
```
|
||||||
|
|
||||||
With docker-compose:
|
With docker-compose
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
services:
|
services:
|
||||||
|
@ -172,13 +192,19 @@ other clients.
|
||||||
|
|
||||||
#### Using Docker
|
#### Using Docker
|
||||||
|
|
||||||
Run
|
From docker hub
|
||||||
|
|
||||||
|
```shell
|
||||||
|
docker run -p 8000:8000 pictuga/morss
|
||||||
|
```
|
||||||
|
|
||||||
|
From source
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -p 8000:8000 morss
|
docker run -p 8000:8000 morss
|
||||||
```
|
```
|
||||||
|
|
||||||
With docker-compose:
|
With docker-compose
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
Loading…
Reference in New Issue