Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

按照视频docker-compose #6

Open
mahui-wangjin opened this issue Sep 26, 2022 · 3 comments
Open

按照视频docker-compose #6

mahui-wangjin opened this issue Sep 26, 2022 · 3 comments

Comments

@mahui-wangjin
Copy link

[ERROR] RedisException: Connection refused in /opt/www/vendor/hyperf/redis/src/RedisConnection.php:261
image

@mahui-wangjin
Copy link
Author

image

@mahui-wangjin
Copy link
Author

image
返回1是否正常

@hnlyd
Copy link

hnlyd commented Dec 9, 2022

用vi命令打开文件vi wait-for
在vi命令模式中使用 :set ff 命令 可以看到文件的格式为
fileformat=dos
使用vi/vim修改文件format为unix
:set ff=unix

然后重新运行
docker-compose build
docker-compose up

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants