update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
DocumentRoot /var/www/html/public
|
DocumentRoot /var/www/html
|
||||||
|
|
||||||
<Directory /var/www/html>
|
<Directory /var/www/html>
|
||||||
Options Indexes FollowSymLinks
|
Options Indexes FollowSymLinks
|
||||||
|
|||||||
@@ -4,6 +4,31 @@ FROM php:8.2-apache
|
|||||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||||
#RUN apt-get update
|
#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
|
# 2. set up document root for apache
|
||||||
COPY docker/apache/000-default.conf /etc/apache2/sites-available/000-default.conf
|
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
@@ -26,10 +26,10 @@ define( 'DB_NAME', 'automedsys_blog' );
|
|||||||
define( 'DB_USER', 'automedsys' );
|
define( 'DB_USER', 'automedsys' );
|
||||||
|
|
||||||
/** Database password */
|
/** Database password */
|
||||||
define( 'DB_PASSWORD', 'automedsys' );
|
define( 'DB_PASSWORD', 'may12002' );
|
||||||
|
|
||||||
/** Database hostname */
|
/** Database hostname */
|
||||||
define( 'DB_HOST', 'localhost' );
|
define( 'DB_HOST', '10.10.33.60' );
|
||||||
|
|
||||||
/** Database charset to use in creating database tables. */
|
/** Database charset to use in creating database tables. */
|
||||||
define( 'DB_CHARSET', 'utf8mb4' );
|
define( 'DB_CHARSET', 'utf8mb4' );
|
||||||
|
|||||||
Reference in New Issue
Block a user