-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
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
dokcer运行成功后访问页面报错502(前面的issues无法解决) #128
Comments
解决了吗? |
这个问题似乎是 uwsgi 的问题。 root@050bd111d388:/home/docker/Github-Monitor# /usr/local/bin/uwsgi --ini /home/docker/Github-Monitor/docker/uwsgi.ini
[uWSGI] getting INI configuration from /home/docker/Github-Monitor/docker/uwsgi.ini
*** Starting uWSGI 2.0.17.1 (64bit) on [Thu Sep 5 06:35:35 2024] ***
compiled with version: 7.5.0 on 29 August 2024 02:34:02
os: Linux-6.6.26-linuxkit #1 SMP Sat Apr 27 04:13:19 UTC 2024
nodename: 050bd111d388
machine: aarch64
clock source: unix
detected number of CPU cores: 12
current working directory: /home/docker/Github-Monitor
detected binary path: /usr/local/bin/uwsgi
!!! no internal routing support, rebuild with pcre support !!!
uWSGI running as root, you can use --uid/--gid/--chroot options
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) ***
chdir() to /home/docker/Github-Monitor/server/
your memory page size is 4096 bytes
detected max file descriptor number: 1048576
lock engine: pthread robust mutexes
thunder lock: disabled (you can enable it with --thunder-lock)
error removing unix socket, unlink(): Operation not supported [core/socket.c line 198]
bind(): Operation not supported [core/socket.c line 230] 我用临时方案解决了,弃用了 uwsgi,直接 runserver 启动了 django
改为
supervisor-app.conf的
改为
先这样解决了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker version
Docker Compose 版本
启动命令
错误
docker log 日志
The text was updated successfully, but these errors were encountered: