From 8507f2809f82e299ab8fd4db6424fc5392376af7 Mon Sep 17 00:00:00 2001 From: Habibillah Busri Date: Sun, 14 Apr 2019 17:19:57 +0700 Subject: [PATCH] add documentation for using docker-compose file --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 9c829f00..f1556279 100644 --- a/README.md +++ b/README.md @@ -68,3 +68,16 @@ docker run -d \ --net host \ defunctzombie/localtunnel-server:latest --port 3000 ``` + +or using `docker-compose.yml` + +``` +version: '3' +services: + localtunnel: + image: "defunctzombie/localtunnel-server:latest" + container_name: "localtunnel" + network_mode: "host" + command: "--port 3000" + restart: "always" +```