fix: change apache port to 3000 to match coolify defaults
This commit is contained in:
+4
-1
@@ -7,6 +7,9 @@ RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli
|
|||||||
# Aktifkan mod_rewrite Apache
|
# Aktifkan mod_rewrite Apache
|
||||||
RUN a2enmod rewrite
|
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 semua file project
|
||||||
COPY . /var/www/html/
|
COPY . /var/www/html/
|
||||||
|
|
||||||
@@ -14,4 +17,4 @@ COPY . /var/www/html/
|
|||||||
RUN chown -R www-data:www-data /var/www/html
|
RUN chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
# Expose port Apache
|
# Expose port Apache
|
||||||
EXPOSE 80
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user