Commit 0c2aaae188f71139b4dc6410aed11df23d004ff1

Authored by Guilherme Andrade Del Cantoni
1 parent 7fadf77c

Configuração do fontes do windows

docker-compose.yml
1 1 version: '2'
2 2 services:
3 3 jod:
4   - image: guilhermeadc/sei3_jod-2.2.2:latest
  4 + image: guilhermeadc/sei3_jod-2.2.2
  5 + container_name: jod
5 6 ports:
6 7 - "8080:8080"
7 8  
8 9 smtp:
9 10 image: guilhermeadc/sei3_mailcatcher
  11 + container_name: smtp
10 12 ports:
11 13 - "1080:1080"
12 14  
13 15 memcached:
14 16 image: guilhermeadc/sei3_memcached
  17 + container_name: memcached
15 18 ports:
16 19 - "11211:11211"
17 20  
18 21 mysql:
19 22 image: guilhermeadc/sei3_mysql-5.6
  23 + container_name: mysql
20 24 ports:
21 25 - "3306:3306"
22 26  
23 27 oracle:
24 28 image: guilhermeadc/sei3_oracle-11g
  29 + container_name: oracle
25 30 ports:
26 31 - "1521:1521"
27 32  
... ... @@ -32,13 +37,14 @@ services:
32 37  
33 38 http:
34 39 image: guilhermeadc/sei3_httpd-2.4
  40 + container_name: http
35 41 ports:
36 42 - "80:80"
37 43 volumes:
38   - - /home/guilhermeadc/git/softwarepublico.gov.br/SEI/sei:/opt/
  44 + - ../sei:/opt
39 45 links:
40 46 - mysql:mysql
41   - - solr:solr
42 47 - memcached:memcached
  48 + - solr:solr
43 49 - smtp:smtp
44 50 - jod:jod
... ...
sei/Dockerfile
... ... @@ -10,7 +10,8 @@ MAINTAINER Guilherme Andrade Del Cantoni <guilherme.cantoni@planejamento.gov.br>
10 10 ############################# INÍCIO DA INSTALAÇÃO #############################
11 11 ENV TERM xterm
12 12  
13   -# Arquivos de instalação dos componentes do Oracle
  13 +# Arquivos de instalação de componentes do SEI
  14 +COPY assets/msttcore-fonts-2.0-3.noarch.rpm /tmp
14 15 COPY oracle/oracle-instantclient11.2-basic-11.2.0.4.0-1.x86_64.rpm /tmp/
15 16 COPY oracle/oracle-instantclient11.2-devel-11.2.0.4.0-1.x86_64.rpm /tmp/
16 17 COPY oracle/oracle-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm /tmp/
... ...
sei/assets/msttcore-fonts-2.0-3.noarch.rpm 0 → 100644
No preview for this file type
sei/assets/sei.ini
... ... @@ -5,13 +5,12 @@ display_errors = On
5 5 display_startup_errors = On
6 6 track_errors = On
7 7 html_errors = On
8   -post_max_size = 100M
9   -upload_max_filesize = 90M
  8 +post_max_size = 110M
  9 +upload_max_filesize = 100M
10 10 default_charset = "iso-8859-1"
11 11 session.gc_maxlifetime = 28800
12 12 short_open_tag = On
13   -display_errors = On
14   -default_socket_timeout = 60
  13 +default_socket_timeout = 1200
15 14 max_input_vars = 2000
16 15 magic-quotes-gpc = 0
17 16 magic_quotes_runtime = 0
... ...
sei/entrypoint.sh
... ... @@ -19,12 +19,12 @@ if [ ! -f /opt/sip/config/ConfiguracaoSip.php ]; then
19 19 fi
20 20  
21 21 # Ajustes de permissões diversos para desenvolvimento do SEI
22   -chown -R apache.apache /opt
23 22 chmod +x /opt/sei/bin/wkhtmltopdf-amd64
24 23 chmod +x /opt/sei/bin/pdfboxmerge.jar
25   -chmod -R 777 /opt/sei/temp
26   -chmod -R 777 /opt/sip/temp
  24 +chown -R 777 /opt
27 25 chmod -R 777 /var/sei/arquivos
  26 +#chmod -R 777 /opt/sei/temp
  27 +#chmod -R 777 /opt/sip/temp
28 28  
29 29 # Inicialização das rotinas de agendamento
30 30 /etc/init.d/rsyslog start
... ...
sei/install.sh
... ... @@ -18,10 +18,19 @@ yum -y install php56u php56u-common php56u-cli php56u-pear php56u-bcmath php56u-
18 18 php56u-odbc php56u-pdo php56u-pecl-apc php56u-pspell php56u-zlib php56u-snmp php56u-soap php56u-xml php56u-xmlrpc php56u-zts php56u-devel \
19 19 php56u-pecl-apc-devel php56u-pecl-memcache php56u-calendar php56u-shmop php56u-intl php56u-mcrypt php56u-pecl-xdebug
20 20  
  21 +# Configuração do charset do Apache
  22 +echo "AddDefaultCharset iso-8859-1" | tee -a /etc/httpd/conf/httpd.conf
  23 +
  24 +# Correção do bug do VirtualBox relacionado ao Sendfile. http://docs.vagrantup.com/v2/synced-folders/virtualbox.html
  25 +echo "EnableSendfile Off" | tee -a /etc/httpd/conf/httpd.conf
  26 +
21 27 # Instalação do componentes UploadProgress
22 28 pecl install uploadprogress && \
23 29 echo "extension=uploadprogress.so" >> /etc/php.d/uploadprogress.ini
24 30  
  31 +# Instalação de pacote de fontes do windows
  32 +rpm -Uvh /tmp/msttcore-fonts-2.0-3.noarch.rpm
  33 +
25 34 # Instalação de componentes para teste do Barramento de Seriços do PEN
26 35 yum -y install supervisor gearmand libgearman libgearman-devel php56u-pecl-gearman
27 36  
... ... @@ -29,7 +38,7 @@ yum -y install supervisor gearmand libgearman libgearman-devel php56u-pecl-gearm
29 38 bash /tmp/install_oracle.sh
30 39  
31 40 # Configuração de permissão do diretório de arquivos
32   -mkdir -p /var/sei/arquivos && \
  41 +mkdir -p /var/sei/arquivos
33 42 chmod -R 777 /var/sei/arquivos
34 43  
35 44 # Configuração dos serviços de background do Cron
... ...