add drupal submodule
This commit is contained in:
@@ -20,7 +20,7 @@ https://wiki.archlinux.org/index.php/Docker#Installation
|
||||
this will clone this repos (main docker environement) and the training.fr drupal 9 source code (without sites/default folder nor mysq ddbs)
|
||||
|
||||
```
|
||||
git clone --recursive -o figli https://figureslibres.io/gogs/bachir/docker-training.git
|
||||
git clone --recursive -o figli https://figureslibres.io/gogs/ouidade/docker-training.git
|
||||
```
|
||||
|
||||
submodules :
|
||||
@@ -40,17 +40,17 @@ rsync the files from you know where (if you don't, you don't) to src/web/sites/d
|
||||
copy ```ressources/xdebug.ini.exemple``` to ```ressources/xdebug.ini``` and edit the ```xdebug.remote_host``` ip to your host locale ip (e.g. : 192.168.0.23) (or once the docker is started to the host ip from the container point of vu e.g. 172.21.0.1)
|
||||
|
||||
## Mysql
|
||||
Copy your-sql-dump.sql files into ```./ressources/training_d9.sql```
|
||||
Copy your-sql-dump.sql files into ```./ressources/training.sql```
|
||||
They will be automaticly imported into the mysql containers dbs (only) on the first docker-compose up
|
||||
|
||||
## Hosts and reverse proxy
|
||||
|
||||
add to your /etc/hosts :
|
||||
```
|
||||
127.0.0.1 dev.d9.training.archi.fr
|
||||
127.0.0.1 dev.phpmyadmin.training.archi.fr
|
||||
127.0.0.1 dev.training.fr
|
||||
127.0.0.1 dev.phpmyadmin.training.fr
|
||||
```
|
||||
configure your vhosts to add a reverse proxy that will redirect the dev.materio.com to our container
|
||||
configure your vhosts to add a reverse proxy that will redirect the dev.training.fr to our container
|
||||
|
||||
### nginx
|
||||
|
||||
@@ -61,7 +61,7 @@ sudo mkdir /etc/var/log/training
|
||||
```nginx
|
||||
server {
|
||||
listen 80;
|
||||
server_name dev.training.archi.fr;
|
||||
server_name dev.training.fr;
|
||||
|
||||
access_log off;
|
||||
error_log /var/log/nginx/training/error.log error;
|
||||
|
||||
Reference in New Issue
Block a user