-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
44 lines (43 loc) · 1.23 KB
/
docker-compose.prod.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
version: "3.7"
services:
db:
image: mariadb
container_name: vftalk-db
environment:
MARIADB_DATABASE: "${MARIADB_NAME}"
MARIADB_USER: "${MARIADB_USER}"
MARIADB_PASSWORD: "${MARIADB_PASSWORD}"
MARIADB_ROOT_PASSWORD: "${MARIADB_ROOT_PASSWORD}"
MARIADB_TZ: "Asia/Makassar"
command: "--default-time-zone=+08:00"
ports:
- "3306:3306"
volumes:
- ./_docker-data/mariadb:/var/lib/mysql
mailserver:
image: ghcr.io/docker-mailserver/docker-mailserver:latest
container_name: mailserver
hostname: mail.vftalk.my.id
ports:
- "25:25"
- "587:587"
- "465:465"
volumes:
- ./_docker-data/dms/mail-data/:/var/mail/
- ./_docker-data/dms/mail-state/:/var/mail-state/
- ./_docker-data/dms/mail-logs/:/var/log/mail/
- ./_docker-data/dms/config/:/tmp/docker-mailserver/
- ./_docker-data/nginx-proxy/certs/:/etc/letsencrypt/
- /etc/localtime:/etc/localtime:ro
environment:
- ENABLE_FAIL2BAN=1
- SSL_TYPE=letsencrypt
- PERMIT_DOCKER=network
- ONE_DIR=1
- ENABLE_POSTGREY=0
- ENABLE_CLAMAV=0
- ENABLE_SPAMASSASSIN=0
- SPOOF_PROTECTION=0
cap_add:
- NET_ADMIN
- SYS_PTRACE