diff --git a/README.md b/README.md index 8b30e69..5e4da20 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Now you should install LUA Jit: - +### Docker You can also build a docker image: @@ -68,6 +68,21 @@ You can also build a docker image: docker build --no-cache -t sipcapture/heplify:latest -f docker/heplify/Dockerfile . ``` +You can use the image using docker compose: + +``` + heplify: + image: sipcapture/heplify:latest + user: 1000:1000 + cap_add: + - CAP_NET_ADMIN + - CAP_NET_RAW + command: + ./heplify -e -hs ${HOMER_DST}:9060 -m SIP -dd -zf -l info + network_mode: host + restart: unless-stopped +``` + ## Usage ```bash