如何在Plesk Obsidian的docker扩展设置中配置ErpNext的Docker Hub镜像?

huangapple go评论71阅读模式
英文:

How to configure ErpNext docker hub image on Plesk Obsidian docker extension settings?

问题

问候我们的社区。这可能是一个有点新手问题。
我发现可以使用Plesk Docker扩展来运行ErpNext实例的生产版本。
注意:我只有安装了Plesk的VPS,没有其他选项...!!!

我在YouTube上找到了教程,似乎可以使用Plesk Docker扩展来运行应用程序,使用来自Docker Hub的Docker镜像。我找到了Docker镜像并拉取了它,这是一张图片
如何在Plesk Obsidian的docker扩展设置中配置ErpNext的Docker Hub镜像?

我需要如何处理所有卷和环境变量来配置这个镜像以使其运行。

当我在面板上点击启动时,出现如下情况
如何在Plesk Obsidian的docker扩展设置中配置ErpNext的Docker Hub镜像?

我对卷未挂载等消息感到担忧。
所以我的问题是:

  1. 在设置中应该做什么来挂载卷?
  2. 如何在Plesk上配置代理?
英文:

Greetings to our community. It might be a bit of noob question.
I came across to use Plesk docker extension to run production version of the ErpNext instance.
Note: VPS with Plesk installed i only have and other options are not available...!!!

I have found tutorial on youtube that it's more likely possible to get app running using Plesk docker extension with docker image taken from docker hub . I have found. the docker image and pulled it here is a pic
如何在Plesk Obsidian的docker扩展设置中配置ErpNext的Docker Hub镜像?

What i need to do with all volumes and environment variables to configure this image to have it up and running.

when i press start on panel getting 如何在Plesk Obsidian的docker扩展设置中配置ErpNext的Docker Hub镜像?

This kind of activity i have concerns about the message volumes not mounted etc.
So my questions are:

  1. What should i do in settings to have the mounted volumes?
  2. How to configure proxy on Plesk?

答案1

得分: 0

我有一个解决方案!!!

我按照Docker安装文档进行操作,这很有帮助。在GitHub上,有frappe/frappe_docker项目:用于Frappe框架和ERPNext的生产和开发设置的Docker镜像。

我知道你需要什么。有一个名为example.env的文件 - 可以重命名为你的.env并根据你的需要进行编辑(我已经在文件中添加了网站URL和我的电子邮件(命令 - cp example.env .env然后nano .env))。
将pwd.yml文件重命名为docker-compose.yml文件,并编辑代理的端口。
之后,运行docker-compose up -d命令,所有容器都启动并在Plesk面板中可见。
在Plesk webspace中,我已经配置了代理端口,与我在docker-compose.yml文件中提供的端口相匹配,所有容器都可见,镜像已下载,ERPNext已准备好进行配置和使用。

我很高兴!!!

英文:

I have a solution!!!

I have followed docker installation documentation and this was helpful
On the GitHub - frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext

I Got what you need. there is a file example.env - can be renamed to your .env and edited as your needs are (i have added website url and my email in file (command - cp example.env .env then nano .env))
pwd.yml file renamed to docker-compose.yml file and edited ports for proxy .
After that
docker-compose up -d command and all containers got up and are visible in Plesk panel.
in Plesk webspace I have configured the proxy port to the port i have provided in docker-compose.yml file all containers are visible images downloaded and ERPNext ready to be configured and used for it purpose.

I am Happy!!!

huangapple
  • 本文由 发表于 2023年7月10日 21:09:15
  • 转载请务必保留本文链接:https://go.coder-hub.com/76654083.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定