Initial Release v1.0.0: Full feature set with Docker automation, Nginx/Alpine stack

This commit is contained in:
dyzulk
2026-01-16 11:21:32 +07:00
commit 45623973a8
139 changed files with 24302 additions and 0 deletions

36
Dockerfile Normal file
View File

@@ -0,0 +1,36 @@
FROM php:8.2-fpm-alpine
# Install system dependencies
RUN apk add --no-cache \
nginx \
supervisor \
sqlite-dev \
libzip-dev \
zip \
unzip
# Install PHP extensions
RUN docker-php-ext-install pdo_sqlite zip
# Configure Nginx
COPY docker/nginx.conf /etc/nginx/http.d/default.conf
# Configure Supervisor
COPY docker/supervisord.conf /etc/supervisord.conf
# Set working directory
WORKDIR /var/www/html
# Copy application files
COPY . /var/www/html
# Create Database directory explicitly & Set Permissions
RUN mkdir -p /var/www/html/app/Database && \
chown -R www-data:www-data /var/www/html && \
chmod -R 755 /var/www/html
# Expose port
EXPOSE 80
# Start Supervisor (which starts Nginx & PHP-FPM)
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]