mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-01 02:34:39 +01:00
A lot of small fixes, improvements on startup tests, migration
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
FROM nginx:1.18.0-alpine
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
bash \
|
||||
git \
|
||||
openssl \
|
||||
fcgiwrap \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user