From 8e1cd5a8cb941bfed4059367ff798dea485dbe7f Mon Sep 17 00:00:00 2001 From: Guilherme Andrade Del Cantoni Date: Mon, 7 Nov 2016 09:48:43 -0200 Subject: [PATCH] Remoção de arquivos desnecessários do projeto --- memcached/Dockerfile | 4 +--- mysql/1-preinstall.sql | 11 ----------- mysql/4-posinstall.sql | 13 ------------- 3 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 mysql/1-preinstall.sql delete mode 100644 mysql/4-posinstall.sql diff --git a/memcached/Dockerfile b/memcached/Dockerfile index ffc6657..a891977 100644 --- a/memcached/Dockerfile +++ b/memcached/Dockerfile @@ -1,5 +1,5 @@ ############################################################################## -# Dockerfile de construção do container WebApp utilizado pelo SEI e pelo SIP # +# Dockerfile de construção do container de cache do utilizado pelo SEI e SIP # ############################################################################## # Definição da imagem de base para o CentOS 6.X @@ -10,5 +10,3 @@ MAINTAINER PEN - Processo Eletrônico Nacional # Exposição da porta de conexão ao Apache EXPOSE 11211 - - diff --git a/mysql/1-preinstall.sql b/mysql/1-preinstall.sql deleted file mode 100644 index 9d8ac23..0000000 --- a/mysql/1-preinstall.sql +++ /dev/null @@ -1,11 +0,0 @@ -USE mysql; - -CREATE DATABASE IF NOT EXISTS sei; -CREATE DATABASE IF NOT EXISTS sip; - -CREATE USER 'sip_user'@'%' IDENTIFIED BY 'sip_user'; -CREATE USER 'sei_user'@'%' IDENTIFIED BY 'sei_user'; -GRANT ALL PRIVILEGES ON sip.* TO 'sip_user'@'%'; -GRANT ALL PRIVILEGES ON sei.* TO 'sei_user'@'%'; - - diff --git a/mysql/4-posinstall.sql b/mysql/4-posinstall.sql deleted file mode 100644 index 8611e44..0000000 --- a/mysql/4-posinstall.sql +++ /dev/null @@ -1,13 +0,0 @@ -USE mysql; -GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; - -USE sip; -update orgao set sigla='ABC', descricao='ORGAO ABC' where id_orgao=0; -update sistema set pagina_inicial='http://localhost/sip' where sigla='SIP'; -update sistema set pagina_inicial='http://localhost/sei/inicializar.php', web_service='http://localhost/sei/controlador_ws.php?servico=sip' where sigla='SEI'; -update orgao set sin_autenticar='N' where id_orgao=0; - -USE sei; -update orgao set sigla='ABC', descricao='ORGAO ABC' where id_orgao=0; -delete from auditoria_protocolo; - -- libgit2 0.21.2