mirror of
https://github.com/friendica/docker
synced 2024-05-25 02:34:57 +02:00
9 lines
206 B
Bash
9 lines
206 B
Bash
#!/bin/sh
|
|
set -eu
|
|
|
|
envsubst < /etc/nginx/conf.d/templates/server_name.template > /etc/nginx/conf.d/server_name.active
|
|
nginx -qt
|
|
until ping app -c1 > /dev/null; do sleep 1; done
|
|
|
|
exec nginx -g 'daemon off;'
|