From ffde884f5b6ea1a6d9b7ec28a736cbcff2584c37 Mon Sep 17 00:00:00 2001 From: Josep Date: Sat, 22 Aug 2026 23:27:07 +0200 Subject: [PATCH] fix docker --- Dockerfile | 30 +++++++++++++++--------------- docker-compose.yml | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d5affa..4331155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,13 +20,13 @@ WORKDIR /app # sideways staying sideways. pcntl lets the queue worker shut down cleanly # instead of being killed mid-job. RUN install-php-extensions \ - pdo_pgsql \ - gd \ - exif \ - intl \ - zip \ - pcntl \ - opcache \ + pdo_pgsql \ + gd \ + exif \ + intl \ + zip \ + pcntl \ + opcache \ && apt-get update \ && apt-get install -y --no-install-recommends postgresql-client \ && rm -rf /var/lib/apt/lists/* @@ -49,11 +49,11 @@ COPY composer.json composer.lock ./ # application cannot boot before its code is here. They are run explicitly in # the runtime stage instead, where everything exists. RUN composer install \ - --no-dev \ - --no-scripts \ - --no-autoloader \ - --prefer-dist \ - --no-interaction + --no-dev \ + --no-scripts \ + --no-autoloader \ + --prefer-dist \ + --no-interaction COPY . . @@ -93,7 +93,7 @@ RUN touch .env \ FROM base AS runtime LABEL org.opencontainers.image.title="Pireon Admin" \ - org.opencontainers.image.description="Admin panel and REST API for the collective" + org.opencontainers.image.description="Admin panel and REST API for the collective" COPY docker/Caddyfile /etc/caddy/Caddyfile @@ -113,9 +113,9 @@ RUN php artisan package:discover --ansi \ RUN chown -R www-data:www-data storage bootstrap/cache -ENV SERVER_NAME=:80 +ENV SERVER_NAME=:8080 -EXPOSE 80 +EXPOSE 8080 ENTRYPOINT ["entrypoint"] diff --git a/docker-compose.yml b/docker-compose.yml index ff43486..170c4bf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -128,7 +128,7 @@ services: # Only here: migrations run once per deploy, not once per container. RUN_MIGRATIONS: "true" expose: - - "80" + - "8080" networks: - dokploy-network - default