mirror of
https://github.com/hoellen/dockerfiles.git
synced 2026-10-15 21:02:20 +00:00
UNMAINTENED
This commit is contained in:
1 parent
3bd074f9d1
commit
88ac35c10b
40 files changed
+939
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
echo
|
||||
echo ">>> wonderfall/parsoid container <<<"
|
||||
echo
|
||||
|
||||
cd /parsoid
|
||||
cp config.example.yaml config.yaml
|
||||
sed -i "s|http://localhost/w/|$ADDRESS|g" config.yaml
|
||||
sed -i "s|domain: 'localhost'|domain: '$DOMAIN'|g" config.yaml
|
||||
|
||||
echo "> Updating permissions..."
|
||||
chown -R ${UID}:${GID} /parsoid /etc/s6.d
|
||||
|
||||
echo "> Executing process..."
|
||||
if [ '$@' == '' ]; then
|
||||
exec su-exec ${UID}:${GID} /bin/s6-svscan /etc/s6.d
|
||||
else
|
||||
exec su-exec ${UID}:${GID} "$@"
|
||||
fi
|
||||
Reference in new issue
Block a user