cloudflared update
This commit is contained in:
13
docs/docker/cloudflared.md
Normal file
13
docs/docker/cloudflared.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Cloudflared Tunnel
|
||||
|
||||
Often times it's useful to spin up a tunnel to your local machine to test out your application. Cloudflared is a great tool for this, and it's very easy to use with Docker.
|
||||
|
||||
## Usage
|
||||
|
||||
The following command will start a tunnel to your local machine on port 3000:
|
||||
|
||||
```bash
|
||||
docker run --rm -p 3000:3000 cloudflare/cloudflared tunnel --url http://host.docker.internal:3000
|
||||
docker run --rm cloudflare/cloudflared tunnel --url http://host.docker.internal:5173
|
||||
|
||||
```
|
||||
@@ -1,5 +1,6 @@
|
||||
# Docker Snippets and Musings
|
||||
|
||||
#### [Cloudflared Tunnel](./cloudflared.md)
|
||||
#### [Exec Into Container](./exec-into-container.md)
|
||||
#### [Local Database With Scripts (MSSQL)](./local-db-mssql.md)
|
||||
#### [Local Database With Scripts (PostgreSQL)](./local-db-pg.md)
|
||||
|
||||
Reference in New Issue
Block a user