-
Notifications
You must be signed in to change notification settings - Fork 386
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run prod docker with mysql 8.0.32 and php 8.1
- Loading branch information
Showing
4 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM alpine:3.17.1 | ||
LABEL Maintainer="Thilina, Pituwala <[email protected]>" \ | ||
Description="IceHrm Docker Container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux." | ||
Description="IceHrm Docker Container with Nginx & PHP-FPM based on Alpine Linux." | ||
|
||
ENV PHPIZE_DEPS \ | ||
autoconf \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
FROM alpine:3.11 | ||
FROM alpine:3.17.1 | ||
LABEL Maintainer="Thilina, Pituwala <[email protected]>" \ | ||
Description="IceHrm Docker Container with Nginx 1.16 & PHP-FPM 7.3 based on Alpine Linux." | ||
Description="IceHrm Docker Container with Nginx & PHP-FPM based on Alpine Linux." | ||
|
||
# Install packages | ||
RUN apk --no-cache add php7 php7-fpm php7-opcache php7-mysqli php7-json php7-openssl php7-curl \ | ||
php7-zlib php7-xml php7-phar php7-intl php7-dom php7-xmlreader php7-ctype php7-session \ | ||
php7-mbstring php7-gd php7-ldap nginx supervisor curl | ||
RUN apk --no-cache add php php-fpm php-opcache php-mysqli php-json php-openssl php-curl \ | ||
php-zlib php-xml php-phar php-intl php-dom php-xmlreader php-ctype php-session \ | ||
php-mbstring php-gd nginx supervisor curl | ||
|
||
# Configure nginx | ||
COPY docker/prod/config/nginx.conf /etc/nginx/nginx.conf | ||
# Remove default server definition | ||
RUN rm /etc/nginx/conf.d/default.conf | ||
#RUN rm /etc/nginx/conf.d/default.conf | ||
|
||
# Configure PHP-FPM | ||
COPY docker/prod/config/fpm-pool.conf /etc/php7/php-fpm.d/www.conf | ||
COPY docker/prod/config/php.ini /etc/php7/conf.d/custom.ini | ||
COPY docker/prod/config/fpm-pool.conf /etc/php81/php-fpm.d/www.conf | ||
COPY docker/prod/config/php.ini /etc/php81/conf.d/custom.ini | ||
|
||
# Configure supervisord | ||
COPY docker/prod/config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters