Add docker-compose example to README.
This commit is contained in:
parent
948bc2c76e
commit
fc9ea47825
20
README.md
20
README.md
@ -11,3 +11,23 @@ If you're binding directory except of creating volume please do proper ``chown``
|
|||||||
```shell
|
```shell
|
||||||
chown -R 100:101 /dir/with/data
|
chown -R 100:101 /dir/with/data
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Use with docker-compose
|
||||||
|
|
||||||
|
You may use this image with docker-compose like that:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: "2.4"
|
||||||
|
|
||||||
|
services:
|
||||||
|
rainloop:
|
||||||
|
restart: always
|
||||||
|
image: "pztrn/rainloop:1.16.0"
|
||||||
|
volumes:
|
||||||
|
- "/root/rainloop/data:/var/www/rainloop/data"
|
||||||
|
ports:
|
||||||
|
- "5480:80"
|
||||||
|
cpus: 2
|
||||||
|
mem_limit: 1G
|
||||||
|
memswap_limit: 0
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user