develop #10

Merged
glenux merged 13 commits from develop into master 2024-07-08 19:53:31 +00:00
3 changed files with 6 additions and 9 deletions
Showing only changes of commit b17f8bd032 - Show all commits

View file

@ -100,8 +100,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& mkdir /var/log/supervisord /var/run/supervisord
COPY supervisord.conf /etc/supervisord.conf
COPY ./app.json /app/app.json
COPY ./postdeploy.sh /app/postdeploy.sh
COPY --chmod=755 ./postdeploy.sh /app/postdeploy.sh
COPY --chmod=755 ./postdeploy_hook.sh /docker-entrypoint-hooks.d/post-installation/postdeploy_hook.sh
ENV NEXTCLOUD_UPDATE=1

View file

@ -1,7 +0,0 @@
{
"scripts": {
"dokku": {
"postdeploy": "su -l -s /bin/sh www-data -c /app/postdeploy.sh"
}
}
}

4
postdeploy_hook.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
su -l -s /bin/sh www-data -c /app/postdeploy.sh