diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-21 22:36:11 +0100 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-03-21 22:36:11 +0100 |
| commit | d63e3c91a97d77b202e280ab0fa007dfbe1baa46 (patch) | |
| tree | cd3533bfb947ea753d91f71a75406644a73d678d /docker/php/entrypoint.sh | |
| parent | f60a390f5c51039fd1efc1df9a6a7f3864ce0062 (diff) | |
| download | camagru-d63e3c91a97d77b202e280ab0fa007dfbe1baa46.tar.gz camagru-d63e3c91a97d77b202e280ab0fa007dfbe1baa46.zip | |
Add editor with webcam/upload capture, overlay compositing, and gallery feed
Diffstat (limited to 'docker/php/entrypoint.sh')
| -rwxr-xr-x | docker/php/entrypoint.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/php/entrypoint.sh b/docker/php/entrypoint.sh new file mode 100755 index 0000000..de41f7e --- /dev/null +++ b/docker/php/entrypoint.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Ensure the uploads directory exists and is writable by www-data (PHP-FPM). +# Bind-mounted volumes keep host ownership, so we fix permissions at startup. +mkdir -p /var/www/html/uploads/posts +chown -R www-data:www-data /var/www/html/uploads + +exec "$@" |
