Skip to content

Commit fa10c65

Browse files
committed
Update README.md
1 parent 40d747b commit fa10c65

File tree

1 file changed

+31
-19
lines changed

1 file changed

+31
-19
lines changed

README.md

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,15 @@ Create rules to open ports to the internet, or to a specific IPv4 address or ran
3434

3535
- [Auto Configuration and Installation](#automatic)
3636
- [Requirements](#requirements)
37-
- [Configuration](#configuration)
38-
- [Installation](#installation)
37+
- [Manual Configuration and Installation](#manual)
38+
- [Portainer Installation](#portainer)
3939
- [Usage](#usage)
40+
- [Website](#website)
41+
- [Webserver](#webserver)
42+
- [Redis Plugin](#redis-plugin)
43+
- [Cache](#cache)
44+
- [phpMyAdmin](#phpmyadmin)
45+
- [backup](#backup)
4046

4147
## Automatic
4248

@@ -67,7 +73,9 @@ Clone this repository or copy the files from this repository into a new folder.
6773

6874
Make sure to [add your user to the `docker` group](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user).
6975

70-
## Configuration
76+
## Manual
77+
78+
### Configuration
7179

7280
download with
7381
```
@@ -80,8 +88,6 @@ Open a terminal and `cd` to the folder in which `docker-compose.yml` is saved an
8088
cd full-stack-nginx-codeigniter-for-everyone-with-docker-compose
8189
```
8290

83-
### Manual
84-
8591
Copy the example environment into `.env`
8692

8793
```
@@ -102,9 +108,7 @@ cp ./phpmyadmin/apache2/sites-available/default-ssl.sample.conf ./phpmyadmin/apa
102108

103109
change example.com to your domain name in ```./phpmyadmin/apache2/sites-available/default-ssl.conf``` file.
104110

105-
## Installation
106-
107-
### Manual
111+
### Installation
108112

109113
Firstly: will create external volume
110114

@@ -126,7 +130,7 @@ The containers are now built and running. You should be able to access the CodeI
126130

127131
For convenience you may add a new entry into your hosts file.
128132

129-
### Installation Portainer
133+
## Portainer
130134

131135
```
132136
docker volume create portainer_data
@@ -164,7 +168,7 @@ docker-compose stop
164168

165169
### Removing containers
166170

167-
To stop and remove all the containers use the`down` command:
171+
To stop and remove all the containers use the `down` command:
168172

169173
```
170174
docker-compose down
@@ -197,6 +201,10 @@ You can now use the `up` command:
197201
docker-compose up -d
198202
```
199203

204+
#### Docker run reference
205+
206+
[https://docs.docker.com/engine/reference/run/](https://docs.docker.com/engine/reference/run/)
207+
200208
### Website
201209

202210
You should see the "Welcome to CodeIgniter..." page in your browser. If not, please check if your PHP installation satisfies CodeIgniter's requirements.
@@ -205,20 +213,18 @@ You should see the "Welcome to CodeIgniter..." page in your browser. If not, ple
205213
https://example.com
206214
```
207215

208-
add or remove code in the ```./php-fpm/php/conf.d/security.ini``` file for custom php.ini configurations
216+
add or remove code in the ./php-fpm/php/conf.d/security.ini file for custom php.ini configurations
209217

210-
Copy and paste the following code in the ```./php-fpm/php-fpm.d/z-www.conf``` file for php-fpm configurations at 1Gb Ram Host
218+
[https://www.php.net/manual/en/configuration.file.php](https://www.php.net/manual/en/configuration.file.php)
211219

212-
```
213-
pm.max_children = 19
214-
pm.start_servers = 4
215-
pm.min_spare_servers = 2
216-
pm.max_spare_servers = 4
217-
pm.max_requests = 1000
218-
```
220+
Copy and paste the following code in the ./php-fpm/php-fpm.d/z-www.conf file for php-fpm configurations at 1Gb Ram Host
219221

220222
Or you should make changes custom host configurations then must restart service
221223

224+
FPM uses php.ini syntax for its configuration file - php-fpm.conf, and pool configuration files.
225+
226+
[https://www.php.net/manual/en/install.fpm.configuration.php](https://www.php.net/manual/en/install.fpm.configuration.php)
227+
222228
```
223229
docker container restart codeigniter
224230
```
@@ -241,6 +247,12 @@ $config['port'] = 6379;
241247
$config['timeout'] = 0;
242248
```
243249

250+
#### Cache
251+
252+
CodeIgniter features wrappers around some of the most popular forms of fast and dynamic caching. All but file-based caching require specific server requirements, and a Fatal Exception will be thrown if server requirements are not met.
253+
254+
[https://codeigniter.com/userguide3/libraries/caching.html](https://codeigniter.com/userguide3/libraries/caching.html)
255+
244256
### phpMyAdmin
245257

246258
You can add your own custom config.inc.php settings (such as Configuration Storage setup) by creating a file named config.user.inc.php with the various user defined settings in it, and then linking it into the container using:

0 commit comments

Comments
 (0)