webapp (1.1.2)

Published 2026-08-03 18:53:42 +02:00 by ervin

Installation

docker pull git.ervin.hu/ervin/webapp:1.1.2
sha256:3fe564987227c27cc9f5b1f807eac6f3d77133b5e3f50f284d7b9b1cc876a7dc

Images

Digest OS / Arch Size
a9871bb3b8 linux/amd64 237 MiB

Image Layers ( linux/amd64)

# debian.sh --arch 'amd64' out/ 'trixie' '@1783900800'
ARG PHP_VERSION=8.3
ARG NODE_VERSION=24
ARG TZ=Europe/Budapest
ENV TZ=Europe/Budapest
ENV PHP_VERSION=8.3
ENV NODE_VERSION=24
ARG SUPERCRONIC_VERSION=v0.2.47
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends apt-transport-https lsb-release ca-certificates curl unzip tzdata && ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo "${TZ}" > /etc/timezone # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb && dpkg -i /tmp/debsuryorg-archive-keyring.deb && rm /tmp/debsuryorg-archive-keyring.deb && echo "deb [signed-by=/usr/share/keyrings/debsuryorg-archive-keyring.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list && apt-get update # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/bash -c apt-get install -y --no-install-recommends nginx-light supervisor php${PHP_VERSION}-{fpm,memcached,mysqli,gd,mbstring,curl,xml,zip,intl,soap,bcmath,opcache,readline,imap,ldap,sqlite3,pgsql,bz2} && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && apt-get install -y --no-install-recommends nodejs && apt-get clean && rm -rf /var/lib/apt/lists/* # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c sed -i "s|^;\?date.timezone =.*|date.timezone = ${TZ}|" /etc/php/*/*/php.ini # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c mkdir -p /etc/php-templates && printf '%s\n' '; Dev mód: hibák láthatók, OPcache friss fájlokat figyel' 'display_errors = On' 'display_startup_errors = On' 'error_reporting = E_ALL' 'opcache.enable = 0' > /etc/php-templates/dev.ini && printf '%s\n' '; Prod mód: hibák elrejtve, OPcache nem ellenőrzi a fájlokat' 'display_errors = Off' 'display_startup_errors = Off' 'error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT' 'log_errors = On' 'opcache.enable = 1' 'opcache.memory_consumption = 256' 'opcache.max_accelerated_files = 20000' 'opcache.validate_timestamps = 0' 'opcache.interned_strings_buffer = 16' > /etc/php-templates/prod.ini # buildkit
COPY nginx.conf /etc/nginx/nginx.conf # buildkit
COPY default.conf /etc/nginx/conf.d/000-default.conf # buildkit
COPY php-fpm-pool.conf /etc/php-templates/www.conf.tpl # buildkit
COPY supervisord.conf /etc/supervisor/supervisord.conf # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c rm -f /etc/nginx/sites-enabled/default # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log # buildkit
COPY error.html /usr/share/nginx/html/error/ # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c mkdir -p /run/php /var/lib/nginx/body /var/lib/nginx/proxy && chmod 777 /run/php /var/lib/nginx /var/lib/nginx/body /var/lib/nginx/proxy /var/log/nginx && chmod 777 /etc/php/*/fpm/conf.d /etc/php/*/cli/conf.d /etc/php/*/fpm/pool.d && chmod 777 /etc/nginx/conf.d # buildkit
ENV APP_ENV=dev
ENV PHP_MEMORY_LIMIT=256M PHP_UPLOAD_MAX_FILESIZE=64M PHP_POST_MAX_SIZE=64M PHP_MAX_EXECUTION_TIME=60 PHP_MAX_INPUT_TIME=60 PHP_MAX_INPUT_VARS=5000
ENV PHP_FPM_PM=dynamic PHP_FPM_MAX_CHILDREN=20 PHP_FPM_START_SERVERS=4 PHP_FPM_MIN_SPARE_SERVERS=2 PHP_FPM_MAX_SPARE_SERVERS=6
ENV PHP_RUN_AS_UID=33 PHP_RUN_AS_GID=33
ENV PNPM_HOME=/opt/pnpm
ENV PATH=/opt/pnpm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PNPM_CONFIG_STORE_DIR=/opt/pnpm-store
ENV XDG_CONFIG_HOME=/etc/xdg
ENV XDG_DATA_HOME=/opt/xdg-data
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c corepack enable && corepack prepare pnpm@latest --activate && mkdir -p $PNPM_HOME $PNPM_CONFIG_STORE_DIR # buildkit
ENV NUXT_DIR=/srv/frontend NUXT_PORT=3000 NUXT_HOST=127.0.0.1
ADD https://github.com/aptible/supercronic/releases/download/v0.2.47/supercronic-linux-amd64 /usr/local/bin/supercronic # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c chmod +x /usr/local/bin/supercronic # buildkit
COPY docker-entrypoint.sh /usr/local/bin/ # buildkit
RUN |4 PHP_VERSION=8.3 NODE_VERSION=24 TZ=Europe/Budapest SUPERCRONIC_VERSION=v0.2.47 /bin/sh -c chmod +x /usr/local/bin/docker-entrypoint.sh # buildkit
WORKDIR /srv
EXPOSE [80/tcp]
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["supervisord" "-c" "/etc/supervisor/supervisord.conf"]
Details
Container
2026-08-03 18:53:42 +02:00
0
OCI / Docker
Versions (2) View all
1.1.2 2026-08-03
1.0.3 2026-07-21