You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-29
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
For hosting PHP powered websites.
4
4
5
5
## Inheritance and added packages
6
+
6
7
- Docker Image **tsle/ws-apache-base** (see [https://github.com/tsitle/dockerimage-ws-apache\_base](https://github.com/tsitle/dockerimage-ws-apache_base))
7
8
- PHP 7.1 (CLI + FPM)
8
9
- PHP packages (see below)
@@ -11,6 +12,7 @@ For hosting PHP powered websites.
11
12
- xml-core
12
13
13
14
## PHP Packages included
15
+
14
16
- bcmath
15
17
- cli
16
18
- common
@@ -34,12 +36,15 @@ For hosting PHP powered websites.
34
36
- zip
35
37
36
38
## Webserver TCP Port
39
+
37
40
The webserver is listening only on TCP port 80 by default.
38
41
39
42
## Docker Container usage
43
+
40
44
See the related GitHub repository [https://github.com/tsitle/dockercontainer-ws-apache\_php71\_mariadb101](https://github.com/tsitle/dockercontainer-ws-apache_php71_mariadb101)
41
45
42
46
## Docker Container configuration
47
+
43
48
From **tsle/ws-apache-base**:
44
49
45
50
- CF\_PROJ\_PRIMARY\_FQDN [string]: FQDN for website (e.g. "mywebsite.localhost") (default: empty)
@@ -60,6 +65,7 @@ From **tsle/ws-apache-base**:
60
65
- CF\_CSR\_SUBJECT\_LOCATION [string]: For auto-generated SSL Certificates (default: LE)
61
66
- CF\_CSR\_SUBJECT\_ORGANIZ [string]: For auto-generated SSL Certificates (default: The IT Company)
62
67
- CF\_CSR\_SUBJECT\_ORGUNIT [string]: For auto-generated SSL Certificates (default: IT)
68
+
- CF\_APACHE\_TIMEOUT [int]: Number of seconds before receives and sends time out (default: 300)
63
69
64
70
From this image:
65
71
@@ -82,6 +88,7 @@ From this image:
82
88
- CF\_XDEBUG\_REMOTE\_HOST [string]: Remote Host for XDebug (default 'dockerhost')
83
89
84
90
## Using cron
91
+
85
92
You'll need to create the crontab file `./mpcron/wwwphpfpm` and then add some task to the file:
86
93
87
94
```
@@ -116,35 +123,14 @@ services:
116
123
tty: false
117
124
```
118
125
119
-
## Enabling the PHP Module XDebug
120
-
The PHP Module 'xdebug' is disabled by default.
121
-
To enable it you'll need to follow these steps from within a Bash shell:
122
-
(replace "DOCKERCONTAINER" with your Docker Container's name)
123
-
124
-
1. Start the Docker Container
125
-
2. If your debugger (e.g. IntelliJ) is running on a different machine then
126
-
you'll need to replace the default hostname "host" with your machine's hostname.
0 commit comments