zh/usage/lphvwwj3/ #1238
Unanswered
Replies: 1 comment
-
|
docker run或docker compose部署时,在指令或compose文件中指明mysql地址(非本机mysql)时无效, 启动时仍会指向本机IP的mysql |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
zh/usage/lphvwwj3/
注意 Yearning安装包内已含有Dockerfile文件,可直接进行build打包成镜像 容器启动时可通过环境变量的方式传入数据库地址以及秘钥。 单独使用docker时请先创建数据库并设置字符集为utf8mb4 如下所示 Docker-compose(推荐安装) 安装包/源码仓库内docker目录下执行 docker-compose up -d 即可
https://next.yearning.io/zh/usage/lphvwwj3/
Beta Was this translation helpful? Give feedback.
All reactions