fix: change apache port to 3000 to match coolify defaults

This commit is contained in:
2026-06-10 18:32:39 +07:00
parent f46d3c72ca
commit 4dbdfc50c3
+4 -1
View File
@@ -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