From 4dbdfc50c3a66cc163cefc2363398e8f781e86af Mon Sep 17 00:00:00 2001 From: MAGHFIRA IZZATI Date: Wed, 10 Jun 2026 18:32:39 +0700 Subject: [PATCH] fix: change apache port to 3000 to match coolify defaults --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 99f42e0..4fdd7b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,9 @@ RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli # Aktifkan mod_rewrite Apache RUN a2enmod rewrite +# Ubah port Apache ke 3000 (agar sesuai dengan default Coolify) +RUN sed -i 's/80/3000/g' /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf + # Copy semua file project COPY . /var/www/html/ @@ -14,4 +17,4 @@ COPY . /var/www/html/ RUN chown -R www-data:www-data /var/www/html # Expose port Apache -EXPOSE 80 +EXPOSE 3000