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
The containers are now built and running. You should be able to access the Drupal installation with the configured IP in the browser address. `https://example.com`.
128
132
129
133
For convenience you may add a new entry into your hosts file.
130
134
131
-
### Installation Portainer
135
+
## Portainer
132
136
133
137
```
134
138
docker volume create portainer_data
135
-
docker-compose -f portainer-docker-compose.yml -p portainer up -d
139
+
dockercompose -f portainer-docker-compose.yml -p portainer up -d
136
140
```
137
-
138
141
manage docker with [Portainer](https://www.portainer.io/solutions/docker) is the definitive container management tool for Docker, Docker Swarm with it's highly intuitive GUI and API.
139
142
140
143
You can also visit `https://example.com:9001` to access portainer after starting the containers.
@@ -143,26 +146,34 @@ You can also visit `https://example.com:9001` to access portainer after starting
143
146
144
147
#### You could manage docker containers without command line with portainer.
145
148
149
+
### Show both running and stopped containers
150
+
151
+
The docker ps command only shows running containers by default. To see all containers, use the -a (or --all) flag:
152
+
153
+
```
154
+
docker ps -a
155
+
```
156
+
146
157
### Starting containers
147
158
148
159
You can start the containers with the `up` command in daemon mode (by adding `-d` as an argument) or by using the `start` command:
149
160
150
161
```
151
-
docker-compose start
162
+
dockercompose start
152
163
```
153
164
154
165
### Stopping containers
155
166
156
167
```
157
-
docker-compose stop
168
+
dockercompose stop
158
169
```
159
170
160
171
### Removing containers
161
172
162
173
To stop and remove all the containers use the `down` command:
You should make changes custom host configurations ```./php-fpm/php-fpm.d/z-www.conf``` then must restart service, FPM uses php.ini syntax for its configuration file - php-fpm.conf, and pool configuration files.
add and/or remove drupal site folders and files with any ftp client program in ```./drupal``` folder.
230
+
add and/or remove drupal site folders and files with any ftp client program in ```./drupal/webapp``` folder.
216
231
<br />You can also visit `https://example.com` to access website after starting the containers.
217
232
233
+
#### Proxy
234
+
235
+
Proxying is typically used to distribute the load among several servers, seamlessly show content from different websites, or pass requests for processing to application servers over protocols other than HTTP.
236
+
237
+
add or remove code in the ```./proxy/templates/proxy.conf.template``` file for custom proxy configurations
All necessary changes to sites/default and sites/default/settings.php have been made, so you should remove write permissions to them now in order to avoid security risks.
234
273
235
274
```
236
275
chmod 655 ./drupal/sites/default/settings.php
237
276
```
238
277
278
+
[This link is to complete configure Varnish](https://www.varnish-software.com/developers/tutorials/configuring-varnish-drupal/#4-configure-caching-and-purging-in-drupal)
279
+
239
280
### phpMyAdmin
240
281
241
282
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:
@@ -252,12 +293,18 @@ The first authorize screen(htpasswd;username or password) and phpmyadmin login s
252
293
253
294
This will back up the all files and folders, once per day, and write it to ./backups with a filename like backup-2022-02-07T16-51-56.tar.gz
0 commit comments