Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Merge branch 'docker-chown-logs' into 1.0-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhpy committed Jul 17, 2024
2 parents c947410 + 252aabb commit 523f499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/ash -e
cd /app

mkdir -p /var/log/panel/logs/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \
&& chmod 777 /var/log/panel/logs/ \
mkdir -p /var/log/panel/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \
&& ln -s /app/storage/logs/ /var/log/panel/
&& chown -R nginx:nginx /app/storage/logs

## check for .env file and generate app keys if missing
if [ -f /app/var/.env ]; then
Expand Down

0 comments on commit 523f499

Please sign in to comment.