We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在威联通nas下部署pushdeer自架版问题,按照我的理解docker部署应该是很简单不会有问题,但是在部署过程中却遇到了很多问题: 1、 Docker Compose 文件配置: version: '3' services: app: image: 'ccr.ccs.tencentyun.com/ftqq/pushdeercore' ports: - '9007:9000' volumes: - '/share/Container/pushdeer/app:/app' environment: - DB_HOST=xxx.xxxx - DB_PORT=3306 - DB_USERNAME=root - DB_DATABASE=pushdeer - DB_PASSWORD=xxxxx - GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios - GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip - APP_DEBUG=true - WEB_PHP_SOCKET=127.0.0.1:8000 2、第一次遇到问题是启动完后查看日志: 2023-03-07 11:49:03,009 INFO exited: push-ios (exit status 1; not expected) 2023-03-07 11:49:03,010 INFO exited: push-clip (exit status 1; not expected) 这2个服务异常退出,找了issue 根据大佬提示通过命令:cd /app/push/ && /data/gorush -c ios.yml 查看日志 疑问1:结果这时候发现 /app/push/ 目录不存在,按道理这个不是应该包含在docker镜像里面了吗? 3、后面自己把push目录放到挂载目录下,能够看到异常了,解决完以后看日志好像是正常启动成功了: 2023-03-07 12:24:31,775 INFO success: syslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-07 12:24:31,775 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-07 12:24:31,775 INFO success: push-ios entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-03-07 12:24:31,775 INFO success: push-clip entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) docker.vm:80 172.22.0.1 - - [07/Mar/2023:12:25:45 +0000] "GET / HTTP/1.1" 404 435 "-" "curl/7.81.0" 但是访问服务地址的时候提示404 是啥原因? 希望大佬有空帮忙解答一下 感谢!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在威联通nas下部署pushdeer自架版问题,按照我的理解docker部署应该是很简单不会有问题,但是在部署过程中却遇到了很多问题:
1、 Docker Compose 文件配置:
version: '3'
services:
app:
image: 'ccr.ccs.tencentyun.com/ftqq/pushdeercore'
ports:
- '9007:9000'
volumes:
- '/share/Container/pushdeer/app:/app'
environment:
- DB_HOST=xxx.xxxx
- DB_PORT=3306
- DB_USERNAME=root
- DB_DATABASE=pushdeer
- DB_PASSWORD=xxxxx
- GO_PUSH_IOS_TOPIC=com.pushdeer.self.ios
- GO_PUSH_IOS_CLIP_TOPIC=com.pushdeer.self.ios.Clip
- APP_DEBUG=true
- WEB_PHP_SOCKET=127.0.0.1:8000
2、第一次遇到问题是启动完后查看日志:
2023-03-07 11:49:03,009 INFO exited: push-ios (exit status 1; not expected)
2023-03-07 11:49:03,010 INFO exited: push-clip (exit status 1; not expected)
这2个服务异常退出,找了issue 根据大佬提示通过命令:cd /app/push/ && /data/gorush -c ios.yml 查看日志
疑问1:结果这时候发现 /app/push/ 目录不存在,按道理这个不是应该包含在docker镜像里面了吗?
3、后面自己把push目录放到挂载目录下,能够看到异常了,解决完以后看日志好像是正常启动成功了:
2023-03-07 12:24:31,775 INFO success: syslogd entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-03-07 12:24:31,775 INFO success: redis entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-03-07 12:24:31,775 INFO success: push-ios entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-03-07 12:24:31,775 INFO success: push-clip entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
docker.vm:80 172.22.0.1 - - [07/Mar/2023:12:25:45 +0000] "GET / HTTP/1.1" 404 435 "-" "curl/7.81.0"
但是访问服务地址的时候提示404 是啥原因? 希望大佬有空帮忙解答一下 感谢!
The text was updated successfully, but these errors were encountered: