A lot of small fixes, improvements on startup tests, migration

This commit is contained in:
kexkey
2021-11-27 00:31:18 -05:00
parent bfd9261890
commit ef4cd781da
17 changed files with 178 additions and 82 deletions

View File

@@ -1,7 +1,6 @@
FROM nginx:1.18.0-alpine
RUN apk add --update --no-cache \
bash \
git \
openssl \
fcgiwrap \

View File

@@ -1,11 +1,11 @@
#!/bin/bash
#!/bin/sh
while [ ! -f "/container_monitor/proxy_ready" ]; do echo "proxy not ready" ; sleep 10 ; done
echo "proxy ready"
if [[ $1 ]]; then
user=$(echo $1 | cut -d ':' -f 1)
if [ -n "$1" ]; then
user=$(echo "$1" | cut -d ':' -f 1)
else
user='nginx'
fi