From 411f7be8966dc573ceb6c572679b0b1461bcd081 Mon Sep 17 00:00:00 2001 From: Jonatan Rek Date: Sat, 31 Oct 2026 19:16:51 +0100 Subject: [PATCH] Refactoring --- apache/Dockerfile | 10 ++++------ apache/entrypoint.d/10-opcache.sh | 8 ++++++++ apache/entrypoint.d/15-composer.sh | 11 ++++++++++ apache/entrypoint.d/20-env.sh | 17 ++++++++++++++++ apache/entrypoint.d/25-key.sh | 14 +++++++++++++ apache/entrypoint.d/26-cache.sh | 9 +++++++++ apache/entrypoint.d/27-sqlite.sh | 8 ++++++++ apache/entrypoint.d/30-storage.sh | 6 ++++++ apache/entrypoint.d/35-migrate.sh | 6 ++++++ apache/entrypoint.d/90-supervisord.sh | 12 +++++++++++ .../laravel-queues.conf | 0 apache/supervisor.d/laravel-scheduler.conf | 6 ++++++ apache/supervisor.d/reverb.conf.example | 8 ++++++++ apache/supervisor/supervisord.conf | 6 ------ fmp-alpine/Dockerfile | 20 +++++-------------- fmp-alpine/docker-entrypoint.sh | 17 ---------------- fmp-alpine/entrypoint.d/10-opcache.sh | 8 ++++++++ fmp-alpine/entrypoint.d/15-composer.sh | 11 ++++++++++ fmp-alpine/entrypoint.d/20-env.sh | 17 ++++++++++++++++ fmp-alpine/entrypoint.d/25-key.sh | 14 +++++++++++++ fmp-alpine/entrypoint.d/26-cache.sh | 9 +++++++++ fmp-alpine/entrypoint.d/27-sqlite.sh | 8 ++++++++ fmp-alpine/entrypoint.d/30-storage.sh | 6 ++++++ fmp-alpine/entrypoint.d/35-migrate.sh | 6 ++++++ fmp-alpine/entrypoint.d/90-supervisord.sh | 12 +++++++++++ .../laravel-queues.conf | 0 .../supervisor.d/laravel-scheduler.conf | 6 ++++++ fmp-alpine/supervisor.d/reverb.conf.example | 8 ++++++++ fmp-alpine/supervisor/supervisord.conf | 6 ------ 29 files changed, 219 insertions(+), 50 deletions(-) create mode 100644 apache/entrypoint.d/10-opcache.sh create mode 100644 apache/entrypoint.d/15-composer.sh create mode 100644 apache/entrypoint.d/20-env.sh create mode 100644 apache/entrypoint.d/25-key.sh create mode 100644 apache/entrypoint.d/26-cache.sh create mode 100644 apache/entrypoint.d/27-sqlite.sh create mode 100644 apache/entrypoint.d/30-storage.sh create mode 100644 apache/entrypoint.d/35-migrate.sh create mode 100644 apache/entrypoint.d/90-supervisord.sh rename apache/{supervisor/conf.d => supervisor.d}/laravel-queues.conf (100%) create mode 100644 apache/supervisor.d/laravel-scheduler.conf create mode 100644 apache/supervisor.d/reverb.conf.example delete mode 100644 apache/supervisor/supervisord.conf delete mode 100644 fmp-alpine/docker-entrypoint.sh create mode 100644 fmp-alpine/entrypoint.d/10-opcache.sh create mode 100644 fmp-alpine/entrypoint.d/15-composer.sh create mode 100644 fmp-alpine/entrypoint.d/20-env.sh create mode 100644 fmp-alpine/entrypoint.d/25-key.sh create mode 100644 fmp-alpine/entrypoint.d/26-cache.sh create mode 100644 fmp-alpine/entrypoint.d/27-sqlite.sh create mode 100644 fmp-alpine/entrypoint.d/30-storage.sh create mode 100644 fmp-alpine/entrypoint.d/35-migrate.sh create mode 100644 fmp-alpine/entrypoint.d/90-supervisord.sh rename fmp-alpine/{supervisor/conf.d => supervisor.d}/laravel-queues.conf (100%) create mode 100644 fmp-alpine/supervisor.d/laravel-scheduler.conf create mode 100644 fmp-alpine/supervisor.d/reverb.conf.example delete mode 100644 fmp-alpine/supervisor/supervisord.conf diff --git a/apache/Dockerfile b/apache/Dockerfile index 9b59410..ee965f7 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -112,12 +112,10 @@ opcache.fast_shutdown=1" >> "$PHP_INI_DIR/conf.d/opcache.ini" #SUPERVISORD RUN mkdir -p /var/log/supervisor -COPY ./supervisor/supervisord.conf /etc/supervisor/supervisord.conf -COPY ./supervisor/conf.d/laravel-queues.conf /etc/supervisor/conf.d/laravel-queues.conf +COPY ./supervisor.d/ /etc/supervisor/conf.d/ -# Setup Crone -RUN mkdir -p /var/log/cron && \ -echo "* * * * * www-data cd ${APP_ROOT} && /usr/local/bin/php artisan schedule:run >> /dev/null 2>&1" >> /etc/crontab +#ENTRYPOINTS +COPY --chmod=755 ./entrypoint.d/ /etc/entrypoint.d/ # Install composer # bun RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer @@ -126,7 +124,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf && \ sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf && \ sed -i 's/^exec /printenv > \/etc\/environment\n\nexec /' /usr/local/bin/apache2-foreground && \ - sed -i 's/^exec /service cron start\n\nexec /' /usr/local/bin/apache2-foreground + sed -i 's#^exec #for f in /etc/entrypoint.d/*.sh; do if [ -x "$f" ]; then "$f" || { echo "entrypoint script failed: $f" >\&2; exit 1; }; fi; done\n\nexec #' /usr/local/bin/apache2-foreground #Cleaning RUN apt-get clean && \ diff --git a/apache/entrypoint.d/10-opcache.sh b/apache/entrypoint.d/10-opcache.sh new file mode 100644 index 0000000..e8e315d --- /dev/null +++ b/apache/entrypoint.d/10-opcache.sh @@ -0,0 +1,8 @@ +#!/bin/sh +for ini in "${PHP_INI_DIR}"/conf.d/*opcache.ini; do + if [ "$(echo "$APP_DEBUG" | tr '[:upper:]' '[:lower:]')" = "false" ]; then + sed -ri -e "s!opcache.validate_timestamps=.*!opcache.validate_timestamps=${PHP_OPCACHE_VALIDATE_TIMESTAMPS:-1}!g" "$ini" + else + sed -ri -e 's!opcache.enable=1!opcache.enable=0!g' "$ini" + fi +done diff --git a/apache/entrypoint.d/15-composer.sh b/apache/entrypoint.d/15-composer.sh new file mode 100644 index 0000000..ad0ded5 --- /dev/null +++ b/apache/entrypoint.d/15-composer.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Composer dependencies +[ -f composer.json ] || exit 0 + +if [ "$init" = "true" ] || [ "$(echo "$APP_DEBUG" | tr '[:upper:]' '[:lower:]')" = "true" ]; then + echo "Initial setup nebo debug mód - instalace Composeru s dev závislostmi" + composer install --prefer-dist --optimize-autoloader +else + echo "Produkční instalace - Composer bez dev závislostí" + composer install --prefer-dist --no-dev --optimize-autoloader +fi diff --git a/apache/entrypoint.d/20-env.sh b/apache/entrypoint.d/20-env.sh new file mode 100644 index 0000000..cc6073c --- /dev/null +++ b/apache/entrypoint.d/20-env.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# Prepares .env. When /config is mounted, .env is restored from /config/.env and saved there on first creation. +cd "${APP_ROOT:-/var/www/html}" || exit 0 + +[ -f artisan ] || exit 0 + +if [ -d /config ] && [ -f /config/.env ]; then + echo "Using existing /config/.env" + cp /config/.env .env +elif [ ! -f .env ] && [ -f .env.example ]; then + echo "Creating .env from example" + cp .env.example .env + chown "$(stat -c %u:%g .env.example)" .env + if [ -d /config ]; then + cp .env /config/.env + fi +fi diff --git a/apache/entrypoint.d/25-key.sh b/apache/entrypoint.d/25-key.sh new file mode 100644 index 0000000..647f744 --- /dev/null +++ b/apache/entrypoint.d/25-key.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# Generates APP_KEY only when none exists yet (env or .env), so an existing key is never rotated. +cd "${APP_ROOT:-/var/www/html}" || exit 0 + +[ -f artisan ] || exit 0 +[ -f .env ] || exit 0 +[ -n "$APP_KEY" ] && exit 0 + +if ! grep -Eq '^APP_KEY=.+' .env; then + echo "Generating application key" + php artisan key:generate --force --no-interaction + [ -d /config ] && cp .env /config/.env +fi +exit 0 diff --git a/apache/entrypoint.d/26-cache.sh b/apache/entrypoint.d/26-cache.sh new file mode 100644 index 0000000..4aa6872 --- /dev/null +++ b/apache/entrypoint.d/26-cache.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Clear Laravel caches +[ -f artisan ] || exit 0 + +echo "Clearing Laravel caches" +php artisan cache:clear +php artisan config:clear +php artisan route:clear +php artisan view:clear diff --git a/apache/entrypoint.d/27-sqlite.sh b/apache/entrypoint.d/27-sqlite.sh new file mode 100644 index 0000000..5a58ed1 --- /dev/null +++ b/apache/entrypoint.d/27-sqlite.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# SQLite database initialization +if { grep -iq "^DB_CONNECTION=sqlite" .env && [ "$DB_CONNECTION" = "sqlite" ]; } || [ "$DEPLOY_ENV" = "sqlite" ]; then + if [ ! -f database/database.sqlite ]; then + echo "Creating empty SQLite database" + touch database/database.sqlite + fi +fi diff --git a/apache/entrypoint.d/30-storage.sh b/apache/entrypoint.d/30-storage.sh new file mode 100644 index 0000000..c579e3f --- /dev/null +++ b/apache/entrypoint.d/30-storage.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Link storage and seed database if first init +[ -f artisan ] || exit 0 + +echo "Linking storage directory" +php artisan storage:link diff --git a/apache/entrypoint.d/35-migrate.sh b/apache/entrypoint.d/35-migrate.sh new file mode 100644 index 0000000..d0458d7 --- /dev/null +++ b/apache/entrypoint.d/35-migrate.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Migrate database +[ -f artisan ] || exit 0 + +echo "Running database migrations" +php artisan migrate --force --no-interaction diff --git a/apache/entrypoint.d/90-supervisord.sh b/apache/entrypoint.d/90-supervisord.sh new file mode 100644 index 0000000..4650f53 --- /dev/null +++ b/apache/entrypoint.d/90-supervisord.sh @@ -0,0 +1,12 @@ +#!/bin/sh +cat > /etc/supervisor/supervisord.conf <<'EOF' +[supervisord] +nodaemon=true +logfile=/var/log/supervisor/supervisord.log + +[include] +files = /etc/supervisor/conf.d/*.conf +EOF + +# nodaemon=true keeps supervisord in the foreground, so detach it here +supervisord -c /etc/supervisor/supervisord.conf & diff --git a/apache/supervisor/conf.d/laravel-queues.conf b/apache/supervisor.d/laravel-queues.conf similarity index 100% rename from apache/supervisor/conf.d/laravel-queues.conf rename to apache/supervisor.d/laravel-queues.conf diff --git a/apache/supervisor.d/laravel-scheduler.conf b/apache/supervisor.d/laravel-scheduler.conf new file mode 100644 index 0000000..bb2bfb7 --- /dev/null +++ b/apache/supervisor.d/laravel-scheduler.conf @@ -0,0 +1,6 @@ +[program:scheduler] +command=/usr/local/bin/php %(ENV_APP_ROOT)s/artisan schedule:work +user=www-data +autostart=true +autorestart=true +stdout_logfile=/var/log/supervisor/scheduler.log diff --git a/apache/supervisor.d/reverb.conf.example b/apache/supervisor.d/reverb.conf.example new file mode 100644 index 0000000..a42dce6 --- /dev/null +++ b/apache/supervisor.d/reverb.conf.example @@ -0,0 +1,8 @@ +; Example only, not loaded (supervisor includes just *.conf). +; To enable it, copy it to /etc/supervisor/conf.d/reverb.conf (or rename it to reverb.conf in supervisor.d). +[program:reverb] +command=/usr/local/bin/php %(ENV_APP_ROOT)s/artisan reverb:start --host=0.0.0.0 --no-interaction --debug +user=www-data +autostart=true +autorestart=true +stdout_logfile=/var/log/supervisor/reverb.log diff --git a/apache/supervisor/supervisord.conf b/apache/supervisor/supervisord.conf deleted file mode 100644 index 67127ed..0000000 --- a/apache/supervisor/supervisord.conf +++ /dev/null @@ -1,6 +0,0 @@ -[supervisord] -nodaemon=true -logfile=/var/log/supervisor/supervisord.log - -[include] -files = /etc/supervisor/conf.d/*.conf \ No newline at end of file diff --git a/fmp-alpine/Dockerfile b/fmp-alpine/Dockerfile index 40a7fff..c7ff9d2 100644 --- a/fmp-alpine/Dockerfile +++ b/fmp-alpine/Dockerfile @@ -4,8 +4,6 @@ FROM php:8.4-fpm-alpine ENV APP_ROOT="/var/www/html" ENV TZ="Europe/Prague" \ - ENABLE_CRON=0 \ - ENABLE_SUPERVISOR=0 \ COMPOSER_ALLOW_SUPERUSER=1 \ PHP_OPCACHE_ENABLE=1 \ PHP_OPCACHE_VALIDATE_TIMESTAMPS=0 \ @@ -107,20 +105,12 @@ RUN { \ echo "opcache.save_comments=1"; \ } > "$PHP_INI_DIR/conf.d/10-opcache.ini" -# Supervisor (queue workers, started when ENABLE_SUPERVISOR=1) +# Supervisor (queue workers + scheduler, started from entrypoint.d/90-supervisord.sh) RUN mkdir -p /var/log/supervisor -COPY ./supervisor/supervisord.conf /etc/supervisor/supervisord.conf -COPY ./supervisor/conf.d/laravel-queues.conf /etc/supervisor/conf.d/laravel-queues.conf +COPY ./supervisor.d/ /etc/supervisor/conf.d/ -# Cron (Laravel scheduler, started when ENABLE_CRON=1) -RUN mkdir -p /var/log/cron && \ - echo "* * * * * cd ${APP_ROOT} && /usr/local/bin/php artisan schedule:run >> /dev/null 2>&1" > /etc/crontabs/www-data - -# Entrypoint -COPY ./docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh -RUN chmod +x /usr/local/bin/docker-entrypoint.sh +# Entrypoint scripts (run in order from the stock entrypoint) +COPY --chmod=755 ./entrypoint.d/ /etc/entrypoint.d/ +RUN sed -i 's#^exec #for f in /etc/entrypoint.d/*.sh; do if [ -x "$f" ]; then "$f" || { echo "entrypoint script failed: $f" >\&2; exit 1; }; fi; done\n\nexec #' /usr/local/bin/docker-php-entrypoint WORKDIR ${APP_ROOT} - -ENTRYPOINT ["docker-entrypoint.sh"] -CMD ["php-fpm"] diff --git a/fmp-alpine/docker-entrypoint.sh b/fmp-alpine/docker-entrypoint.sh deleted file mode 100644 index 76dc355..0000000 --- a/fmp-alpine/docker-entrypoint.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -set -e - -# Optional background services, only started together with php-fpm so that -# one-off commands (php artisan ..., composer ...) are passed through untouched. -case "$1" in - php-fpm*) - if [ "${ENABLE_CRON:-0}" = "1" ]; then - crond -b -L /var/log/cron/cron.log - fi - if [ "${ENABLE_SUPERVISOR:-0}" = "1" ]; then - supervisord -c /etc/supervisor/supervisord.conf - fi - ;; -esac - -exec docker-php-entrypoint "$@" diff --git a/fmp-alpine/entrypoint.d/10-opcache.sh b/fmp-alpine/entrypoint.d/10-opcache.sh new file mode 100644 index 0000000..e8e315d --- /dev/null +++ b/fmp-alpine/entrypoint.d/10-opcache.sh @@ -0,0 +1,8 @@ +#!/bin/sh +for ini in "${PHP_INI_DIR}"/conf.d/*opcache.ini; do + if [ "$(echo "$APP_DEBUG" | tr '[:upper:]' '[:lower:]')" = "false" ]; then + sed -ri -e "s!opcache.validate_timestamps=.*!opcache.validate_timestamps=${PHP_OPCACHE_VALIDATE_TIMESTAMPS:-1}!g" "$ini" + else + sed -ri -e 's!opcache.enable=1!opcache.enable=0!g' "$ini" + fi +done diff --git a/fmp-alpine/entrypoint.d/15-composer.sh b/fmp-alpine/entrypoint.d/15-composer.sh new file mode 100644 index 0000000..ad0ded5 --- /dev/null +++ b/fmp-alpine/entrypoint.d/15-composer.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# Composer dependencies +[ -f composer.json ] || exit 0 + +if [ "$init" = "true" ] || [ "$(echo "$APP_DEBUG" | tr '[:upper:]' '[:lower:]')" = "true" ]; then + echo "Initial setup nebo debug mód - instalace Composeru s dev závislostmi" + composer install --prefer-dist --optimize-autoloader +else + echo "Produkční instalace - Composer bez dev závislostí" + composer install --prefer-dist --no-dev --optimize-autoloader +fi diff --git a/fmp-alpine/entrypoint.d/20-env.sh b/fmp-alpine/entrypoint.d/20-env.sh new file mode 100644 index 0000000..cc6073c --- /dev/null +++ b/fmp-alpine/entrypoint.d/20-env.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# Prepares .env. When /config is mounted, .env is restored from /config/.env and saved there on first creation. +cd "${APP_ROOT:-/var/www/html}" || exit 0 + +[ -f artisan ] || exit 0 + +if [ -d /config ] && [ -f /config/.env ]; then + echo "Using existing /config/.env" + cp /config/.env .env +elif [ ! -f .env ] && [ -f .env.example ]; then + echo "Creating .env from example" + cp .env.example .env + chown "$(stat -c %u:%g .env.example)" .env + if [ -d /config ]; then + cp .env /config/.env + fi +fi diff --git a/fmp-alpine/entrypoint.d/25-key.sh b/fmp-alpine/entrypoint.d/25-key.sh new file mode 100644 index 0000000..647f744 --- /dev/null +++ b/fmp-alpine/entrypoint.d/25-key.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# Generates APP_KEY only when none exists yet (env or .env), so an existing key is never rotated. +cd "${APP_ROOT:-/var/www/html}" || exit 0 + +[ -f artisan ] || exit 0 +[ -f .env ] || exit 0 +[ -n "$APP_KEY" ] && exit 0 + +if ! grep -Eq '^APP_KEY=.+' .env; then + echo "Generating application key" + php artisan key:generate --force --no-interaction + [ -d /config ] && cp .env /config/.env +fi +exit 0 diff --git a/fmp-alpine/entrypoint.d/26-cache.sh b/fmp-alpine/entrypoint.d/26-cache.sh new file mode 100644 index 0000000..4aa6872 --- /dev/null +++ b/fmp-alpine/entrypoint.d/26-cache.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Clear Laravel caches +[ -f artisan ] || exit 0 + +echo "Clearing Laravel caches" +php artisan cache:clear +php artisan config:clear +php artisan route:clear +php artisan view:clear diff --git a/fmp-alpine/entrypoint.d/27-sqlite.sh b/fmp-alpine/entrypoint.d/27-sqlite.sh new file mode 100644 index 0000000..5a58ed1 --- /dev/null +++ b/fmp-alpine/entrypoint.d/27-sqlite.sh @@ -0,0 +1,8 @@ +#!/bin/sh +# SQLite database initialization +if { grep -iq "^DB_CONNECTION=sqlite" .env && [ "$DB_CONNECTION" = "sqlite" ]; } || [ "$DEPLOY_ENV" = "sqlite" ]; then + if [ ! -f database/database.sqlite ]; then + echo "Creating empty SQLite database" + touch database/database.sqlite + fi +fi diff --git a/fmp-alpine/entrypoint.d/30-storage.sh b/fmp-alpine/entrypoint.d/30-storage.sh new file mode 100644 index 0000000..c579e3f --- /dev/null +++ b/fmp-alpine/entrypoint.d/30-storage.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Link storage and seed database if first init +[ -f artisan ] || exit 0 + +echo "Linking storage directory" +php artisan storage:link diff --git a/fmp-alpine/entrypoint.d/35-migrate.sh b/fmp-alpine/entrypoint.d/35-migrate.sh new file mode 100644 index 0000000..d0458d7 --- /dev/null +++ b/fmp-alpine/entrypoint.d/35-migrate.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Migrate database +[ -f artisan ] || exit 0 + +echo "Running database migrations" +php artisan migrate --force --no-interaction diff --git a/fmp-alpine/entrypoint.d/90-supervisord.sh b/fmp-alpine/entrypoint.d/90-supervisord.sh new file mode 100644 index 0000000..4650f53 --- /dev/null +++ b/fmp-alpine/entrypoint.d/90-supervisord.sh @@ -0,0 +1,12 @@ +#!/bin/sh +cat > /etc/supervisor/supervisord.conf <<'EOF' +[supervisord] +nodaemon=true +logfile=/var/log/supervisor/supervisord.log + +[include] +files = /etc/supervisor/conf.d/*.conf +EOF + +# nodaemon=true keeps supervisord in the foreground, so detach it here +supervisord -c /etc/supervisor/supervisord.conf & diff --git a/fmp-alpine/supervisor/conf.d/laravel-queues.conf b/fmp-alpine/supervisor.d/laravel-queues.conf similarity index 100% rename from fmp-alpine/supervisor/conf.d/laravel-queues.conf rename to fmp-alpine/supervisor.d/laravel-queues.conf diff --git a/fmp-alpine/supervisor.d/laravel-scheduler.conf b/fmp-alpine/supervisor.d/laravel-scheduler.conf new file mode 100644 index 0000000..bb2bfb7 --- /dev/null +++ b/fmp-alpine/supervisor.d/laravel-scheduler.conf @@ -0,0 +1,6 @@ +[program:scheduler] +command=/usr/local/bin/php %(ENV_APP_ROOT)s/artisan schedule:work +user=www-data +autostart=true +autorestart=true +stdout_logfile=/var/log/supervisor/scheduler.log diff --git a/fmp-alpine/supervisor.d/reverb.conf.example b/fmp-alpine/supervisor.d/reverb.conf.example new file mode 100644 index 0000000..a42dce6 --- /dev/null +++ b/fmp-alpine/supervisor.d/reverb.conf.example @@ -0,0 +1,8 @@ +; Example only, not loaded (supervisor includes just *.conf). +; To enable it, copy it to /etc/supervisor/conf.d/reverb.conf (or rename it to reverb.conf in supervisor.d). +[program:reverb] +command=/usr/local/bin/php %(ENV_APP_ROOT)s/artisan reverb:start --host=0.0.0.0 --no-interaction --debug +user=www-data +autostart=true +autorestart=true +stdout_logfile=/var/log/supervisor/reverb.log diff --git a/fmp-alpine/supervisor/supervisord.conf b/fmp-alpine/supervisor/supervisord.conf deleted file mode 100644 index 2e99660..0000000 --- a/fmp-alpine/supervisor/supervisord.conf +++ /dev/null @@ -1,6 +0,0 @@ -[supervisord] -logfile=/var/log/supervisor/supervisord.log -pidfile=/run/supervisord.pid - -[include] -files = /etc/supervisor/conf.d/*.conf