🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-11 19:46:53 -04:00
parent b4ba5abe80
commit 18754b3a85
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM casjaysdevdocker/python2:latest AS build
ARG PORTS="80 443 9090"
ARG PORTS="80 9090"
ENV CFLAGS="-static"

View File

@ -30,10 +30,13 @@ if [ ! -f "/config/ssl//localhost.crt" ] || [ ! -f "/config/ssl//localhost.key"
create-ssl-cert
fi
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
php-fpm-server
# Start php-fpm server
php-fpm-server &
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ ! -f "/tmp/cherokee.pid" ]; then
echo "Starting cherokee-admin on port 9090"
cherokee-admin -b -p 9090 -C /etc/cherokee/cherokee.conf &
echo "Starting cherokee webserver on port 80"
exec cherokee -C /etc/cherokee/cherokee.conf || rm -Rf "/tmp/cherokee.pid"
fi