Skip to content

Commit 08e2c58

Browse files
committed
start project
1 parent 9658857 commit 08e2c58

File tree

8 files changed

+49
-2
lines changed

8 files changed

+49
-2
lines changed

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM php:7.1.11-fpm
2+
LABEL Eakkabin Jaikeawma <[email protected]>
3+
4+
RUN apt-get update && apt-get install -y curl git --no-install-recommends \
5+
&& docker-php-ext-install -j$(nproc) iconv mysqli pdo pdo_mysql mbstring \
6+
&& apt-get clean && apt-get autoremove \
7+
&& rm -r /var/lib/apt/lists/* && rm -rf /tmp/* /var/tmp/*
8+
9+
COPY ./php7-ini/20-phalcon.ini /usr/local/etc/php/conf.d/20-phalcon.ini
10+
COPY ./php7-ini/20-mongodb.ini /usr/local/etc/php/conf.d/20-mongodb.ini
11+
COPY ./php7-ext/phalcon-v3.2.1.so /usr/local/lib/php/extensions/no-debug-non-zts-20160303/phalcon-v3.2.1.so
12+
COPY ./php7-ext/mongodb-v1.2.9.so /usr/local/lib/php/extensions/no-debug-non-zts-20160303/mongodb-v1.2.9.so
13+
14+
WORKDIR /usr/share/nginx/html
15+
16+
EXPOSE 9000
17+
18+
CMD ["php-fpm"]

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 codemaxz
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# docker-php7phalcon
2-
Build Image with Dockerfile | PHP 7.1.11 + Phalcon 3.2.1 + Mongo 1.2.9
1+
# docker-php7phalcon

php7-ext/mongodb-v1.2.9.so

3.37 MB
Binary file not shown.

php7-ext/phalcon-v3.2.1.so

5.58 MB
Binary file not shown.

php7-ini/20-mongodb.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extension=mongodb-v1.2.9.so

php7-ini/20-phalcon.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extension=phalcon-v3.2.1.so

php7-ini/php7.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
file_uploads = On
2+
3+
post_max_size = 30M
4+
upload_max_filesize = 30M
5+
6+
memory_limit = 30M
7+
max_execution_time = 600

0 commit comments

Comments
 (0)