cloudflared update
All checks were successful
Build, Test & Publish / Build (push) Successful in 29s
Build, Test & Publish / Deploy to Infrastructure (push) Successful in 41s
Build, Test & Publish / Build and Publish Container Image (push) Successful in 1m17s

This commit is contained in:
2026-02-18 10:59:23 +11:00
parent 1a3b0eb43e
commit cd3b5fd5e2
4 changed files with 16 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ export default defineConfig({
collapsed: true,
items: [
{ text: 'CLI Commands', link: '/docker/cli-commands' },
{ text: 'Cloudflared', link: '/docker/cloudflared' },
{ text: 'Docker Exec', link: '/docker/exec-into-container' },
{ text: 'Local DB (MSSQL)', link: '/docker/local-db-mssql' },
{ text: 'Local DB (PostgreSQL)', link: '/docker/local-db-pg' },

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

View File

@@ -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)

View File

@@ -8,7 +8,7 @@
"vue": "^3.4.34"
},
"scripts": {
"dev": "vitepress dev",
"dev": "vitepress dev --host 0.0.0.0",
"build": "vitepress build",
"preview": "vitepress preview"
}