mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-06-03 23:16:50 +00:00
feat: add Docker deployment instructions
Enhance README with Docker deployment steps for easier setup and scalability.
This commit is contained in:
@@ -62,6 +62,13 @@ For detailed tutorials, see [Deploy your Astro site](https://docs.astro.build/en
|
|||||||
|
|
||||||
## 🏗️ Deployment
|
## 🏗️ Deployment
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
|
||||||
|
1. `docker pull ghcr.io/ccbikai/broadcastchannel:main`
|
||||||
|
2. `docker run -d --name broadcastchannel -p 4321:4321 -e CHANNEL=miantiao_me ghcr.io/ccbikai/broadcastchannel:main`
|
||||||
|
|
||||||
|
### Serverless
|
||||||
|
|
||||||
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) this project to your GitHub
|
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) this project to your GitHub
|
||||||
2. Create a project on Cloudflare/Netlify/Vercel
|
2. Create a project on Cloudflare/Netlify/Vercel
|
||||||
3. Select the `BroadcastChannel` project and the `Astro` framework
|
3. Select the `BroadcastChannel` project and the `Astro` framework
|
||||||
|
|||||||
@@ -62,6 +62,13 @@
|
|||||||
|
|
||||||
## 🏗️ 部署
|
## 🏗️ 部署
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
|
||||||
|
1. `docker pull ghcr.io/ccbikai/broadcastchannel:main`
|
||||||
|
2. `docker run -d --name broadcastchannel -p 4321:4321 -e CHANNEL=miantiao_me ghcr.io/ccbikai/broadcastchannel:main`
|
||||||
|
|
||||||
|
### Serverless
|
||||||
|
|
||||||
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) 此项目到你 GitHub
|
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) 此项目到你 GitHub
|
||||||
2. 在 Cloudflare/Netlify/Vercel 创建项目
|
2. 在 Cloudflare/Netlify/Vercel 创建项目
|
||||||
3. 选择 `BroadcastChannel` 项目和 `Astro` 框架
|
3. 选择 `BroadcastChannel` 项目和 `Astro` 框架
|
||||||
|
|||||||
Reference in New Issue
Block a user