Compare commits

...

2 Commits

Author SHA1 Message Date
Easy d7f3279458
Update README.md
remove core image
2023-11-10 18:11:31 +08:00
Easy f5841403c7
Update docker-compose.serverless.yml 2023-11-10 18:08:46 +08:00
2 changed files with 22 additions and 19 deletions

View File

@ -183,6 +183,7 @@ docker-compose -f docker-compose.self-hosted.yml up --build -d
如果您在部署中遇到问题,可按[调试文档](/doc/调试文档.md)定位并发现错误信息。
<!--
#### 单一容器部署方案
对于很多不能运行docker-compose的容器环境可以直接使用 pushdeer 镜像。该镜像中已经包含了 redis 服务,但需要通过环境变量指定数据库等信息:
@ -192,6 +193,7 @@ docker run -e DB_DATABASE=* -e DB_HOST=* -e DB_PORT=*28740* -e DB_USERNAME=* -e
```
请将上述命令中的`*`替换为对应的数据库信息。
-->
### 使用自架版客户端

View File

@ -1,19 +1,20 @@
version: '2'
services:
app:
image: 'ccr.ccs.tencentyun.com/ftqq/pushdeercore'
ports:
- '9000:9000'
environment:
- DB_HOST=host.docker.internal
- DB_PORT=3306
- DB_USERNAME=root
- DB_DATABASE=pushdeer_local
- DB_PASSWORD=
- DB_TIMEZONE=+08:00
- GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios
- GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip
- APP_DEBUG=false
- WEB_PHP_SOCKET=127.0.0.1:8000
extra_hosts:
- "host.docker.internal:host-gateway"
# 已废弃
# version: '2'
# services:
# app:
# image: 'ccr.ccs.tencentyun.com/ftqq/pushdeercore'
# ports:
# - '9000:9000'
# environment:
# - DB_HOST=host.docker.internal
# - DB_PORT=3306
# - DB_USERNAME=root
# - DB_DATABASE=pushdeer_local
# - DB_PASSWORD=
# - DB_TIMEZONE=+08:00
# - GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios
# - GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip
# - APP_DEBUG=false
# - WEB_PHP_SOCKET=127.0.0.1:8000
# extra_hosts:
# - "host.docker.internal:host-gateway"