Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
0af21156
Commit
0af21156
authored
Nov 13, 2018
by
vladyslavstartsev
Committed by
Shao Yu-Lung (Allen)
Nov 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added SOAP ext to php-worker (#1817)
parent
c1e8e955
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
0 deletions
+9
-0
index.md
DOCUMENTATION/content/documentation/index.md
+1
-0
docker-compose.yml
docker-compose.yml
+1
-0
env-example
env-example
+1
-0
Dockerfile
php-worker/Dockerfile
+6
-0
No files found.
DOCUMENTATION/content/documentation/index.md
View file @
0af21156
...
@@ -545,6 +545,7 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
...
@@ -545,6 +545,7 @@ b) add a new service container by simply copy-paste this section below PHP-FPM c
args
:
args
:
-
INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
#Optionally install PGSQL PHP drivers
-
INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
#Optionally install PGSQL PHP drivers
-
INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
#Optionally install BCMath php package
-
INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
#Optionally install BCMath php package
-
INSTALL_SOAP=${PHP_WORKER_INSTALL_SOAP}
#Optionally install Soap php package
volumes_from
:
volumes_from
:
-
applications
-
applications
depends_on
:
depends_on
:
...
...
docker-compose.yml
View file @
0af21156
...
@@ -179,6 +179,7 @@ services:
...
@@ -179,6 +179,7 @@ services:
-
PHP_VERSION=${PHP_VERSION}
-
PHP_VERSION=${PHP_VERSION}
-
INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
-
INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
-
INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
-
INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
-
INSTALL_SOAP=${PHP_WORKER_INSTALL_SOAP}
volumes
:
volumes
:
-
${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
-
${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
-
./php-worker/supervisord.d:/etc/supervisord.d
-
./php-worker/supervisord.d:/etc/supervisord.d
...
...
env-example
View file @
0af21156
...
@@ -167,6 +167,7 @@ PHP_FPM_FAKETIME=-0
...
@@ -167,6 +167,7 @@ PHP_FPM_FAKETIME=-0
PHP_WORKER_INSTALL_PGSQL=false
PHP_WORKER_INSTALL_PGSQL=false
PHP_WORKER_INSTALL_BCMATH=false
PHP_WORKER_INSTALL_BCMATH=false
PHP_WORKER_INSTALL_SOAP=false
### NGINX #################################################
### NGINX #################################################
...
...
php-worker/Dockerfile
View file @
0af21156
...
@@ -25,6 +25,12 @@ RUN apk --update add wget \
...
@@ -25,6 +25,12 @@ RUN apk --update add wget \
RUN
docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl
RUN
docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl
RUN
pecl channel-update pecl.php.net
&&
pecl
install
memcached mcrypt-1.0.1
&&
docker-php-ext-enable memcached
RUN
pecl channel-update pecl.php.net
&&
pecl
install
memcached mcrypt-1.0.1
&&
docker-php-ext-enable memcached
#Install SOAP package:
ARG
INSTALL_SOAP=false
RUN if
[
${
INSTALL_SOAP
}
=
true
]
;
then
\
docker-php-ext-install soap
\
;
fi
#Install BCMath package:
#Install BCMath package:
ARG
INSTALL_BCMATH=false
ARG
INSTALL_BCMATH=false
RUN if
[
${
INSTALL_BCMATH
}
=
true
]
;
then
\
RUN if
[
${
INSTALL_BCMATH
}
=
true
]
;
then
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment