Custombuild & docker?

dimitris

New member
Joined
Oct 13, 2016
Messages
4
Is it possible to use dockerized services with DirectAdmin? Is it possible to not build some of the services DA manages with custombuild and use dockerized ones instead (apache, php, mysql)?
 
Hello,

Yes, some of users here on the forums managed to run Directadmin on FreeBSD where they install services from ports, not with the help of CustomBuild. You will probably need to adjust some paths though.
 
I see, thank you for your reply.

Do you know if that adjustment would require deep knowledge of custombuild or if it is a matter of binding the /usr/local or DA configuration directories to the respective service's docker container configuration directories?
 
You don't need CustomBuild probably at all, if you aren't going to install/upgrade software with it. You need to know how to configure services or directadmin to use the desired paths for configs. For example Directadmin installs configs for apache in /etc/httpd/conf/ (CentOS/RedHat way):

Code:
apacheconf=/etc/httpd/conf/httpd.conf

thus either adjust the config directadmin.conf or use symlinks if you are on Debian/Ubuntu, as apache there would try to use /etc/apache2/

The same might be true for other services: exim, dovecot, proftpd, named.

Related: https://help.directadmin.com/item.php?id=284
 
Amazing. I didn't know you can skip custombuild altogether.
I am not a server administrator, I have only worked with preconfigured installations, please excuse my ignorance, I was trying to find information on DA docs but I got lost and thus posted...
Thank you very much!
 
Back
Top