Add docker-compose example to README.

This commit is contained in:
Stanislav Nikitin 2021-11-19 11:50:06 +05:00
parent 948bc2c76e
commit fc9ea47825
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
1 changed files with 21 additions and 1 deletions

View File

@ -10,4 +10,24 @@ If you're binding directory except of creating volume please do proper ``chown``
```shell
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
```