mirror of
https://github.com/tiredofit/docker-postal.git
synced 2024-09-20 15:05:55 +08:00
Release 1.2.1 - See CHANGELOG.md
This commit is contained in:
parent
ea87f770ee
commit
d22a4d4dfe
|
@ -1,3 +1,9 @@
|
||||||
|
## 1.2.1 2020-01-02 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Additional changes to support new tiredofit/alpine base image
|
||||||
|
|
||||||
|
|
||||||
## 1.2.0 2019-12-30 <dave at tiredofit dot ca>
|
## 1.2.0 2019-12-30 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/with-contenv /bin/bash
|
#!/usr/bin/with-contenv /bin/bash
|
||||||
|
|
||||||
source /assets/functions/*
|
for s in /assets/functions/*; do source $s; done
|
||||||
PROCESS_NAME="postal"
|
PROCESS_NAME="postal"
|
||||||
|
|
||||||
### Set Defaults
|
### Set Defaults
|
||||||
|
@ -59,7 +59,7 @@ fi
|
||||||
### SSL Configuration
|
### SSL Configuration
|
||||||
if [ "$SMTP_SERVER_ENABLE_TLS" = "true" ]; then
|
if [ "$SMTP_SERVER_ENABLE_TLS" = "true" ]; then
|
||||||
if [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_CERT" ] || [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_KEY" ]; then
|
if [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_CERT" ] || [ ! -f "/opt/postal/certs/$SMTP_SERVER_TLS_KEY" ]; then
|
||||||
print_warn "** [psotal] TLS Key or certificate not found. Generating self-signed certificates"
|
print_warn "TLS Key or certificate not found. Generating self-signed certificates"
|
||||||
cat <<EOF > /tmp/openssl.cnf
|
cat <<EOF > /tmp/openssl.cnf
|
||||||
[ req ]
|
[ req ]
|
||||||
default_bits = 2048
|
default_bits = 2048
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
source /assets/functions/*
|
for s in /assets/functions/*; do source $s; done
|
||||||
PROCESS_NAME="postal"
|
PROCESS_NAME="nginx"
|
||||||
check_initialized
|
|
||||||
|
check_container_initialized
|
||||||
|
check_service_initialized init
|
||||||
liftoff
|
liftoff
|
||||||
|
|
||||||
print_info "Starting postal"
|
print_info "Starting postal"
|
||||||
|
|
Loading…
Reference in a new issue