mirror of
https://github.com/casjaysdevdocker/cherokee
synced 2025-01-18 06:34:33 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
b4ba5abe80
commit
18754b3a85
@ -1,6 +1,6 @@
|
||||
FROM casjaysdevdocker/python2:latest AS build
|
||||
|
||||
ARG PORTS="80 443 9090"
|
||||
ARG PORTS="80 9090"
|
||||
|
||||
ENV CFLAGS="-static"
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user