Add docker-compose example to README.

This commit is contained in:
2021-11-19 11:50:06 +05:00
parent 948bc2c76e
commit fc9ea47825

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
```