Commit a04b843bdccdca1cbc7f6216ad92ff80875f2552

Authored by Eder Soares
1 parent bb305ef1
Exists in 2.8 and in 7 other branches 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Altera o diretório do i-Educar

docker-compose.yml
... ... @@ -9,9 +9,9 @@ services:
9 9 - php
10 10 ports:
11 11 - 80
12   - working_dir: /application
  12 + working_dir: /var/www/ieducar
13 13 volumes:
14   - - ./:/application
  14 + - ./:/var/www/ieducar
15 15  
16 16 php:
17 17 container_name: ieducar-php
... ... @@ -26,9 +26,9 @@ services:
26 26 XDEBUG_REMOTE_PORT: 9000
27 27 XDEBUG_REMOTE_ENABLE: 0
28 28 XDEBUG_AUTOSTART: 0
29   - working_dir: /application
  29 + working_dir: /var/www/ieducar
30 30 volumes:
31   - - ./:/application
  31 + - ./:/var/www/ieducar
32 32  
33 33 postgres:
34 34 container_name: ieducar-postgres
... ...
docker/nginx/default.conf
... ... @@ -4,7 +4,7 @@ server {
4 4 server_name _;
5 5 error_log /var/log/nginx/error.log;
6 6 access_log /var/log/nginx/access.log;
7   - root /application/public;
  7 + root /var/www/ieducar/public;
8 8  
9 9 location ~ ^/intranet/?$ {
10 10 rewrite ^.*$ /intranet/index.php redirect;
... ...
docker/php/Dockerfile
... ... @@ -44,7 +44,7 @@ RUN docker-php-ext-install zip
44 44  
45 45 RUN apt-get install -y unzip
46 46  
47   -RUN ln -s /application/artisan /usr/local/bin/artisan
  47 +RUN ln -s /var/www/ieducar/artisan /usr/local/bin/artisan
48 48  
49 49 RUN mkdir -p /usr/share/man/man7
50 50 RUN apt-get install -y postgresql-client
... ...
ieducar/configuration/ieducar.ini.example
... ... @@ -136,7 +136,7 @@ report.show_error_details = true
136 136 report.default_factory = Portabilis_Report_ReportFactoryPHPJasper
137 137  
138 138 ; Define o diretório dos arquivos fontes dos relatórios
139   -report.source_path = /application/ieducar/modules/Reports/ReportSources/
  139 +report.source_path = /var/www/ieducar/ieducar/modules/Reports/ReportSources/
140 140  
141 141 ; Configurações usadas pelo modulo de tratamento de erros ocorridos na aplicação.
142 142 modules.error.link_to_support = https://forum.ieducar.org/
... ...