add documentation for using docker-compose file

This commit is contained in:
Habibillah Busri
2019-04-14 17:19:57 +07:00
committed by GitHub
parent 78c06f8fc4
commit 8507f2809f
+13
View File
@@ -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"
```