This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
53 lines (52 loc) · 1.69 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: '3.9'
services:
ispconfig:
image: index.docker.io/itsthejb/ispconfig:latest
container_name: ispconfig
hostname: ispconfig
domainname: test.com
cap_add: [
SYS_ADMIN, LINUX_IMMUTABLE,
# Pure-ftpd-mysql
DAC_READ_SEARCH, SYS_NICE
]
environment:
- LANGUAGE=C
- LANG=C.UTF-8
- LC_ALL=C.UTF-8
- HOSTNAME=myhost.test.com # see ./build/autoinstall.ini
- HOSTNAME_EMAIL=mail.myhost.test.com # Hostname for email
- DISABLED_SERVICES=rspamd unbound # disable services (apache2 clamav-daemon cron dovecot fail2ban mariadb postfix postfix pure-ftpd-mysql redis rspamd rsyslog spamassassin ssh unbound)
# - REDIS_HOST=localhost
# - POSTGREY_DELAY=300
# - POSTGREY_MAX_AGE=35
# - POSTGREY_TEXT="Delayed by postgrey"
# Directory of apache vhosts to include
# - APACHE_SUPPLEMENTARY_VHOSTS=/etc/apache2/supplementary/*.vhost
# Apache mods to enable at start
# - APACHE_ENABLE_MODS=macro,proxy_balancer,proxy_http
# - APACHE_DISABLE_DEFAULT_SITE=no
# Paths to custom ssl cert and private key
# - SSL_CERT=
# - SSL_CHAIN=
# - SSL_KEY=
# reconfigure the mariadb host at boot
# - MYSQL_HOST=host
# reconfigure stored password for roundcube database at start
# - ROUNDCUBE_DB_PASSWORD=password
# cron mail config
# - CRON_MAILTO=
# - CRON_MAILFROM=
ports: [
# "53:53", # bind
"110", # pop3
"995", # pop3s
"143", # imap
"993", # imaps
"25", # smtp
"587", # smtps
"20-21", # pureftpd
"80", "443", "8080", # web
"22", # sshd
"30000-30009", # pure-ftpd
]