Commit 691b891f3cfbbc443502dfb5279fb66d9e831ac1
1 parent
e7eb4715
Exists in
master
Configuração da autenticação nativa do SEI/SIP
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
mysql/Dockerfile
@@ -57,6 +57,10 @@ RUN service mysqld start && \ | @@ -57,6 +57,10 @@ RUN service mysqld start && \ | ||
57 | RUN service mysqld start && \ | 57 | RUN service mysqld start && \ |
58 | mysql -e "delete from auditoria_protocolo;" sei | 58 | mysql -e "delete from auditoria_protocolo;" sei |
59 | 59 | ||
60 | +# Configuração para utilizar autenticação nativa do SEI/SIP | ||
61 | +RUN service mysqld start && \ | ||
62 | + mysql -e "update orgao set sin_autenticar='N' where id_orgao=0;" sip | ||
63 | + | ||
60 | # Alteração das configurações padrões do MySQL | 64 | # Alteração das configurações padrões do MySQL |
61 | RUN service mysqld start && \ | 65 | RUN service mysqld start && \ |
62 | mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;" | 66 | mysql -e "GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;" |