This commit is contained in:
CHIEFSOFT\ameye
2023-12-28 17:56:19 -05:00
parent b114fdf4fa
commit 24ef174702
5 changed files with 1232 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/public
DocumentRoot /var/www/html
<Directory /var/www/html>
Options Indexes FollowSymLinks
+25
View File
@@ -4,6 +4,31 @@ FROM php:8.2-apache
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
#RUN apt-get update
# Install dependencies
RUN apt-get update && apt-get install -y \
build-essential \
libpng-dev \
libjpeg62-turbo-dev \
libfreetype6-dev \
locales \
zip \
jpegoptim optipng pngquant gifsicle \
vim \
unzip \
git \
curl \
libonig-dev \
libzip-dev \
libgd-dev
# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
#Mine
# Install extensions
#RUN docker-php-ext-install pdo_mysql mbstring zip exif pcntl
RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable mysqli
RUN docker-php-ext-configure gd --with-external-gd
RUN docker-php-ext-install gd
# 2. set up document root for apache
COPY docker/apache/000-default.conf /etc/apache2/sites-available/000-default.conf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -26,10 +26,10 @@ define( 'DB_NAME', 'automedsys_blog' );
define( 'DB_USER', 'automedsys' );
/** Database password */
define( 'DB_PASSWORD', 'automedsys' );
define( 'DB_PASSWORD', 'may12002' );
/** Database hostname */
define( 'DB_HOST', 'localhost' );
define( 'DB_HOST', '10.10.33.60' );
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8mb4' );