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