|
@@ -1,6 +1,6 @@
|
|
|
# USG 2018
|
|
|
|
|
|
-USG 2018 powered by grav in docker environement (nginx, php:5.6-fpm)
|
|
|
+USG 2018 powered by grav in docker environement (nginx, php:7-fpm)
|
|
|
|
|
|
## Install docker
|
|
|
```
|
|
@@ -12,19 +12,19 @@ sudo pacman -S docker docker-compose docker-machine
|
|
|
this will clone this repos (main docker environement) and the grav source code
|
|
|
|
|
|
```
|
|
|
-git clone --recursive -o esadhar.net https://esadhar.net/gogs/bachir/docker-usg-2018.git
|
|
|
+git clone --recursive -o figli https://figureslibres.io/gogs/kevin/docker-r2c-grav.git
|
|
|
```
|
|
|
|
|
|
## Hosts and reverse proxy
|
|
|
|
|
|
add to your /etc/hosts :
|
|
|
```
|
|
|
-127.0.0.1 dev.2018.unesaisongraphique.fr
|
|
|
+127.0.0.1 dev.r2c.net
|
|
|
```
|
|
|
configure your apache vhosts to add a reverse proxy that will redirect the dev.materio.com to our container
|
|
|
```
|
|
|
<Virtualhost *:80>
|
|
|
- ServerName dev.2018.unesaisongraphique.fr
|
|
|
+ ServerName dev.r2c.net
|
|
|
ProxyPass / http://127.0.0.1:8880/
|
|
|
ProxyPassReverse / http://127.0.0.1:8880/
|
|
|
ProxyRequests Off
|
|
@@ -50,7 +50,7 @@ sudo docker-compose up -d
|
|
|
```
|
|
|
### loging in
|
|
|
```
|
|
|
-sudo docker exec -it gravusg2018_php_1 bash
|
|
|
+sudo docker exec -it r2c-grav_php_1 bash
|
|
|
```
|
|
|
|
|
|
## Visualize
|