-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml-template
65 lines (65 loc) · 2.02 KB
/
docker-compose.yml-template
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
54
55
56
57
58
59
60
61
62
63
64
65
version: '2'
services:
ispc:
##################################################
# BUILD section
##################################################
build:
context: ./build
dockerfile: Dockerfile
args:
BUILD_TZ: Europe/Berlin
BUILD_HOSTNAME: myhost.test.com
BUILD_ISPCONFIG: ISPConfig-3.1.11
BUILD_MYSQL_PW: pass
BUILD_ROUNDCUBE: 1.1.10
BUILD_PRINTING: "no"
##################################################
# RUN section
##################################################
image: unimock/ispconfig-docker:0.3.0
container_name: ispc
restart: never
hostname: myhost
domainname: test.com
cap_add:
- NET_ADMIN # fail2ban (iptables)
volumes:
- ./service:/service # service volume for overwrites (ovm) and migration (mig)
- ./ispc/www:/var/www
- ./ispc/vmail:/var/vmail
# - ./ispc/rsnapshot:/rsnapshot
environment:
- HOSTNAME=myhost.test.com # see ./build/autoinstall.ini
- LANGUAGE=en # see ./build/autoinstall.ini
# disable services :
# postfix ssh mysql postfix rsyslog cron bind9 apache2 fail2ban dovecot mailman clamav-daemon amavis spamassassin pure-ftpd-mysql
- DISABLED_SERVICES=bind9 mailman
#- MAILMAN_EMAIL_HOST=test.com
#- MAILMAN_PASS=pass
ports:
- "110:110" # pop3
- "995:995" # pop3s
- "143:143" # imap
- "993:993" # imaps
- "25:25" # smtp
- "465:465" # smtps
- "587:587" # smtps
- "20:20"
- "21:21" # pureftpd
- "80:80"
- "443:443"
- "8080:8080"
#- "53:53" # bind
#- "2222:22" # sshd
- "30000:30000" # pure-ftpd
- "30001:30001"
- "30002:30002"
- "30003:30003"
- "30004:30004"
- "30005:30005"
- "30006:30006"
- "30007:30007"
- "30008:30008"
- "30009:30009"