• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Docker: Informations / How it works?

omexlu

Regular Pleskian
Hello,

I want to install the extension "docker" on my "Plesk Onyx" installation.

In this "docker" i want to install "Zammed" (https://docs.zammad.org/en/latest/install-docker-compose.html)

Now my Questions are:
- I have a domain point to the server (subscription allready setted) => srv.domain.tld
QUESTION: So here the container will be avaible @ https://srv.domain.tld:PORT (PORT FROM CONTAINER)
- https://docs.zammad.org/en/latest/i...ml#setting-vm-max-map-count-for-elasticsearch
QUESTION: These settings must be done at the container right?

How easy it is to install that in there?:
https://docs.zammad.org/en/latest/install-docker-compose.html

Thanks
 
Hi,

I have testet it with the package mention above.

Runned that on host:
  • sysctl -w vm.max_map_count=262144
But i get the error in docker vm.max_map_count : Read-only filesystem

What can i do there ? :( reboot dont help
 
Last edited:
Hi omexlu,

change at "/etc/sysctl.conf" the setting for "vm.max_map_count" to "262144" ( which is mostly setup to "65530" ). After a reboot, you can check the setting with the command ( logged in as user "root" ) :

Code:
sysctl vm.max_map_count
 
Hi omexlu,

change at "/etc/sysctl.conf" the setting for "vm.max_map_count" to "262144" ( which is mostly setup to "65530" ). After a reboot, you can check the setting with the command ( logged in as user "root" ) :

Code:
sysctl vm.max_map_count

Thank you i will give a try , i can break nothing with that setting?
 
I never would suggest something, that could harm your server - you just change some "standart" - linux settings here! ;)

sysctl vm.max_map_count
vm.max_map_count = 262144

And in Container i got always this error:
sysctl: setting key "vm.max_map_count": Read-only file system

And it dosen't run "zammed" i don't understand it.
 
Hi omexlu,

you might have noticed, that this forum is a "plesk-related" community and your described issue is the result of a third-party component - usage. I assume, that you would like to use "Elasticsearch" in combination with your "zammad" - docker - installation, so pls. consider to ask depending issue(s)/error(s)/problems at: => https://discuss.elastic.co/
 
Hi omexlu,

you might have noticed, that this forum is a "plesk-related" community and your described issue is the result of a third-party component - usage. I assume, that you would like to use "Elasticsearch" in combination with your "zammad" - docker - installation, so pls. consider to ask depending issue(s)/error(s)/problems at: => https://discuss.elastic.co/

https://github.com/zammad/zammad-docker-compose/issues/8

The Guys from there think that plesk is not compatible with docker-compose?
 
Hi omexlu,

just a shoot out of the blue: Did you actually INSTALL "docker-compose" on your server? ( hint: Pls. use the command line as user "root" and type: docker-compose -v )
 
Hi omexlu,

just a shoot out of the blue: Did you actually INSTALL "docker-compose" on your server? ( hint: Pls. use the command line as user "root" and type: docker-compose -v )

Hi,

No i don't have installed it (docker-compose) but as plesk support says me it is not supported by plesk, so i suppose installing it on the server change nothing, because plesk can't handel that on panel?
 
Hi omexlu,

No i don't have installed it (docker-compose) but as plesk support says me it is not supported by plesk
Could you pls. name the supporter, who told you, that "docker-compose" is not supported?


Apart from that, you want to install the zammad version "zammad-docker-compose" and you don't have "docker-compose" installed on your server, which is pretty weird from my point of view - you should be aware, that dependencies will always conflict here.
I just tested the docker installation ( WITH docker-compose installed! ) and I had no problem in installing all depending images for a testing - subdomain. ;) I didn't get all services to run, because I was too lazy to configure all the needed ports, so the nginx-container didn't start for example, but I had no problem at all, installing all the seven containers. :p
 
Hi,

I don't want to deface somebody but here the mail:
Docker-compose is not supported. You can try to implement it manually.

Let us know in case of any questions.

Regards,

Alexandra Tyutyunnikova

So its mentioned that i can install it manually :)

How have you make it:
- Install 'docker-compose'
- Than installed the 'zammad-docker-compose' from Plesk panel?

About the Ports, i need only to configure nginx as exposed ports because nginx handle the rest in the container.

Thanks
 
Hi omexlu,

well, the answer just indicates, that Plesk didn't integrate "docker-compose" (yet) into Plesk Onyx yet, I suppose, because the additional note points to a manual installation. ;) You might consider to post this a feature request at: => http://plesk.uservoice.com/


Installation description for "docker-compose": => https://github.com/docker/compose/releases


Actually, you should use the standart way, when working with docker-compose:

Implement the needed git into your (sub)domain, where you choose for example the local folder "/var/www/vhosts/YOUR-DOMAIN.COM/test-zammad.YOUR-DOMAIN.COM/" for the automatic deployment. Afterwards, you login over ssh and move to the git - folder and start the installation process. Example:

cd /var/www/vhosts/YOUR-DOMAIN.COM/test-zammad.YOUR-DOMAIN.COM
docker-compose up

Afterwards, you have all the 7 zammad-docker-compose container, which settings you may now edit over the Plesk Control Panel. ;)
 
Thanks for you reply. I will give this a try on a local machine this evening :)
So afterwards i can setting the ports on plesk :)

Thank you.
 
Back
Top