Public | Automated Build

Last pushed: 2 years ago
Short Description
Dockerfile for ISPConfig with MariaDB database
Full Description

ISPConfig is an Open source, BSD-licensed, hosting control panel for Linux, designed to manage Apache, BIND, FTP, and databases, supporting many Linux distributions.

Start ISPConfig

docker run -name ispconfig  -e MAILMAN_EMAIL_HOST=test.com -e MAILMAN_EMAIL=test@test.com -e MAILMAN_PASS=pass -d -p 20:20 -p 21:21 -p 30000:30000 -p 30001:30001 -p 30002:30002 -p 30003:30003 -p 30004:30004 -p 30005:30005 -p 30006:30006 -p 30007:30007 -p 30008:30008 -p 30009:30009 -p 80:80 -p 443:443 -p 8080:8080 -p 53:53 -p 2222:22 jerob/docker-ispconfig /start.sh

ISPConfig administration

https://your-ip:8080

Shell access

docker exec -i -t jerob/docker-ispconfig bash

Reconfigure ISPConfig

ispconfig_update.sh

Webmail

http://your-ip/webmail

PHPMyAdmin

http://your-ip/phpmyadmin

MariaDB login : root

MariaDB password : pass

ISPConfig login : admin

ISPConfig password : admin

It is strongly recommended that you change the MariaDB and ISPConfig password as soon as possible

Backup exemple with S3

docker run --volumes-from ispconfig -e PASSPHRASE=pass -e AWS_ACCESS_KEY_ID=xxxxx -e AWS_SECRET_ACCESS_KEY=xxxxx -e PARAMS='--allow-source-mismatch --full-if-older-than 1W --include /var/mail/ --include /var/www/ --include /var/backup/sql/ --include /etc/' -e SRC='/' -e PARAMS_CLEAN='remove-older-than 3M --force --extra-clean' -e DEST='s3://xxxxx.amazonaws.com/bucket-name/' jerob/docker-duplicity bash /duplicity
Docker Pull Command
Owner
jerob
Source Repository

Comments (13)
psywolf
7 months ago

Hi thank you very much!
Are the MariaDB (non-root) accounts generated or should we change them instantly?

  • debian-sys-maint
  • phpmyadmin
  • ispconfig
vassiskansa
a year ago

Hi Jerob, good job! But I'm new to Amazon S3 and I need some explanations. Can you told to me how PASSPHRASE, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY means? I tried to use the Amazon login , but it did not work. Thank you.

ejandra
a year ago

Hello, I tried this command to run the container with a volume mapped to it.
docker run -v /home/ejandra/ispconfig:/var/www --name ispconfig -e MAILMAN_EMAIL_HOST=test.com -e MAILMAN_EMAIL=test@test.com -e MAILMAN_PASS=pass -d
-p 20:20 -p 21:21 -p 30000:30000 -p 30001:30001 -p 30002:30002 -p 30003:30003
-p 30004:30004 -p 30005:30005 -p 30006:30006 -p 30007:30007 -p 30008:30008 -p 30009:30009
-p 80:80 -p 443:443 -p 8080:8080 -p 53:53 -p 2222:22 jerob/docker-ispconfig /start.sh

This is to map to a data volume whichever the contents of /var/www are. The volume mapping works because whenever I try to add a new text file to /var/www via shell access, i see the file in /home/ejandra/ispconfig. However, when I go to https://my-ip:8080 , my browser says, "the site can't be reached" . I have made the image work without volume mapping but I really need to volume map it.

Does this image not support volume mapping? How do I make this persistent Sir? Thanks!

starmagoo
2 years ago

Am I right that I have to expose the SMTP Port too?

sandmouse
2 years ago

@dennismp Cheers.

dennismp
2 years ago

@sandmouse - change "-name" to "--name" and it should work

sandmouse
2 years ago

I'm running Docker version 1.9.1, build a34a1d5

sandmouse
2 years ago

Running:

docker run -name ispconfig -e MAILMAN_EMAIL_HOST=test.com -e MAILMAN_EMAIL=test@test.com -e MAILMAN_PASS=pass -d -p 20:20 -p 21:21 -p 30000:30000 -p 30001:30001 -p 30002:30002 -p 30003:30003 -p 30004:30004 -p 30005:30005 -p 30006:30006 -p 30007:30007 -p 30008:30008 -p 30009:30009 -p 80:80 -p 443:443 -p 8080:8080 -p 53:53 -p 2222:22 jerob/docker-ispconfig /start.sh

Leaves me with:

Warning: '-n' is deprecated, it will be removed soon. See usage.
invalid value "ispconfig" for flag -a: valid streams are STDIN, STDOUT and STDERR
flag provided but not defined: -name

Should I do more configuration, even for a simple and contained test?

yohann1717
2 years ago

One question ?

How i do for my volume. You use S3 for backup. But if i use S3 for my volume data. it's possbile ? In my container i have 10GB maxfor my container ?

Soon.

yohann1717
2 years ago

Hi,

For access in your container :

is not
docker exec -i -t jerob/docker-ispconfig bash

it's this :
docker exec -i -t CONTAINER ID bash

you can enter in your container.