Export users 500k+ lines, seed, supervisord setup

This commit is contained in:
Ilya Rogozhin
2026-06-09 18:52:21 +02:00
parent 299ab41b7d
commit 792e4d7f28
15 changed files with 469 additions and 223 deletions
+9 -1
View File
@@ -22,6 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libzip-dev \
unzip \
git \
supervisor \
&& rm -rf /var/lib/apt/lists/*
# Configure and install PHP extensions
@@ -55,7 +56,14 @@ USER www-data
# 6. Download and unpack the Laravel installer directly into www-data's profile folder
RUN composer global require laravel/installer --no-interaction
# 7. Switch back to root user
USER root
# Supervisor
RUN mkdir -p /var/log/supervisor
COPY ./supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# Expose PHP-FPM default communication port
EXPOSE 9000
CMD ["php-fpm"]
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/conf.d/supervisord.conf"]