53 lines
1.9 KiB
YAML
53 lines
1.9 KiB
YAML
captainVersion: 4
|
|
services:
|
|
$$cap_appname:
|
|
image: analogic/poste.io:$$cap_poste_version
|
|
ports:
|
|
- 25:25
|
|
- 110:110
|
|
- 143:143
|
|
- 465:465
|
|
- 587:587
|
|
- 993:993
|
|
- 995:995
|
|
- 4190:4190
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- $$cap_appname-data:/data
|
|
restart: always
|
|
environment:
|
|
HTTPS: OFF
|
|
LETSENCRYPT_EMAIL: $$cap_email
|
|
LETSENCRYPT_HOST: $$cap_host
|
|
VIRTUAL_HOST: $$cap_host
|
|
caproverOneClickApp:
|
|
variables:
|
|
- id: $$cap_poste_version
|
|
label: Poste.io version tag
|
|
description: Check out their Docker page for the valid tags https://hub.docker.com/r/analogic/poste.io/tags
|
|
defaultValue: '2'
|
|
- id: $$cap_email
|
|
label: Email Address
|
|
description: The email address used for Lets Encrypt certificates.
|
|
- id: $$cap_host
|
|
label: Hostname
|
|
description: The full hostname for this captain app. (usually mail.mydomain.com)
|
|
instructions:
|
|
start: >-
|
|
SMTP + IMAP + POP3 + Antispam + Antivirus + Web administration + Web email on your server in ~5 minutes
|
|
|
|
|
|
Recommended: Use "mail" as the App Name.
|
|
end: >-
|
|
Please paste the preDeployFunction from https://github.com/caprover/caprover/issues/479#issuecomment-520902309 to the App Config > Pre-Deploy section of your created poste.io instance $$cap_appname.
|
|
|
|
|
|
Also ensure that you've set up the reverse DNS (PTR record) for your server and DKIM, SPF (DNS TXT) records.
|
|
|
|
|
|
The deployment can take up to 2 minutes.
|
|
displayName: Poste.io
|
|
isOfficial: true
|
|
description: Poste.io - complete mailserver built in one container
|
|
documentation: Read the poste.io documentation @ https://poste.io/doc
|