mirror of
https://github.com/lleene/dockerconfig.git
synced 2025-07-25 09:28:32 +02:00
Working setup v1
This commit is contained in:
@ -1,14 +0,0 @@
|
||||
FROM alpine
|
||||
|
||||
MAINTAINER Lieuwe Leene
|
||||
|
||||
ARG SSL_ALGO=secp521r1
|
||||
|
||||
RUN apk update && \
|
||||
apk add --no-cache openssl && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
RUN mkdir -p /etc/letsencrypt/live
|
||||
|
||||
RUN openssl ecparam -name ${SSL_ALGO} -genkey | openssl pkey -out /etc/letsencrypt/live/ecprivkey.pem && \
|
||||
openssl pkey -in /etc/letsencrypt/live/ecprivkey.pem -pubout -out /etc/letsencrypt/live/ecpubkey.pem
|
19
config/mail/config.php
Normal file
19
config/mail/config.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
$config['imap_host'] = 'tls://mailserver:143';
|
||||
$config['smtp_host'] = 'tls://mailserver:587';
|
||||
|
||||
$config['imap_conn_options'] = array(
|
||||
'ssl' => array(
|
||||
'verify_peer' => false,
|
||||
'verify_peer_name' => false,
|
||||
'allow_self_signed' => true,
|
||||
),
|
||||
);
|
||||
|
||||
$config['smtp_conn_options'] = array(
|
||||
'ssl' => array(
|
||||
'verify_peer' => false,
|
||||
'verify_peer_name' => false,
|
||||
'allow_self_signed' => true,
|
||||
),
|
||||
);
|
Reference in New Issue
Block a user