corrected smtp name values
This commit is contained in:
72
smtp/service-smtp.json
Normal file
72
smtp/service-smtp.json
Normal file
@@ -0,0 +1,72 @@
|
||||
{
|
||||
"main": {
|
||||
"SERVICE_NAME": "smtp-server",
|
||||
"DOMAIN": ""
|
||||
},
|
||||
"containers": [
|
||||
{
|
||||
"IMAGE": "registry.format.hu/smtp:latest",
|
||||
"UPDATE": "true",
|
||||
"NAME": "mail-smtp",
|
||||
"MEMORY": "128M",
|
||||
"SELECTOR": "smtp",
|
||||
"VOLUMES": [],
|
||||
"PORTS": [
|
||||
{
|
||||
"SOURCE": "null",
|
||||
"DEST": "25",
|
||||
"TYPE": "tcp"
|
||||
}
|
||||
],
|
||||
"READYNESS": [
|
||||
{
|
||||
"tcp": ""
|
||||
},
|
||||
{
|
||||
"HTTP": ""
|
||||
},
|
||||
{
|
||||
"EXEC": "/ready.sh"
|
||||
}
|
||||
],
|
||||
"ENVS": [
|
||||
{
|
||||
"TZ": "#SMTP_TIMEZONE"
|
||||
},
|
||||
{
|
||||
"RELAY_HOST": "#SMTP_RELAY_HOST"
|
||||
},
|
||||
{
|
||||
"RELAY_PORT": "#SMTP_RELAY_PORT"
|
||||
},
|
||||
{
|
||||
"RELAY_USER": "#SMTP_REALY_USER"
|
||||
},
|
||||
{
|
||||
"TEST_EMAIL": "#SMTP_TEST_EMAIL"
|
||||
},
|
||||
{
|
||||
"FROMADDRESS": "#SMTP_FROMADDRESS"
|
||||
},
|
||||
{
|
||||
"MYNETWORKS": "#SMTP_MYNETWORKS"
|
||||
},
|
||||
{
|
||||
"MSG_SIZE": "#SMTP_MSG_SIZE"
|
||||
},
|
||||
{
|
||||
"LOG_DISABLE": "#SMTP_LOG_DISABLE"
|
||||
}
|
||||
],
|
||||
"ENV_FILES": [
|
||||
"/etc/user/config/services/smtp-secret.json"
|
||||
],
|
||||
"EXTRA": "null",
|
||||
"DEPEND": "null",
|
||||
"START_ON_BOOT": "true",
|
||||
"CMD": "null",
|
||||
"PRE_START": "null",
|
||||
"POST_START": "null"
|
||||
}
|
||||
]
|
||||
}
|
5
smtp/smtp-secret.json
Normal file
5
smtp/smtp-secret.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mail": {
|
||||
"RELAY_PASS": "#SMTP_RELAY_PASS"
|
||||
}
|
||||
}
|
67
smtp/template.json
Normal file
67
smtp/template.json
Normal file
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"name": "smtp",
|
||||
"fields": [
|
||||
{
|
||||
"description": "Set timezone for smtp server",
|
||||
"key": "SMTP_TIME_ZONE",
|
||||
"value": "Europe/Budapest",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set relay hostname for smtp server",
|
||||
"key": "SMTP_RELAY_HOST",
|
||||
"value": "",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set relay port for smtp server",
|
||||
"key": "SMTP_RELAY_HOST",
|
||||
"value": "587",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set username for smtp server",
|
||||
"key": "SMTP_RELAY_USER",
|
||||
"value": "",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set password for smtp server",
|
||||
"key": "SMTP_RELAY_PASS",
|
||||
"value": "",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set test email address smtp server",
|
||||
"key": "SMTP_TEST_EMAIL",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"description": "Set subnet using smtp server (you can set multiple networks with comma separated values)",
|
||||
"key": "SMTP_MYNETWORKS",
|
||||
"value": "0.0.0.0/0",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set default domain name using smtp server",
|
||||
"key": "SMTP_MYORIGIN",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"description": "Set from email address for smtp server",
|
||||
"key": "SMTP_FROMADDRESS",
|
||||
"value": "",
|
||||
"required": "true"
|
||||
},
|
||||
{
|
||||
"description": "Set maximum size in bytes of sending message",
|
||||
"key": "SMTP_MSG_SIZE",
|
||||
"value": "30720000"
|
||||
},
|
||||
{
|
||||
"description": "Set log enable or not for smtp server",
|
||||
"key": "SMTP_LOG_DISABLE",
|
||||
"value": "false"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user