diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..8903cef --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,8 @@ +FROM httpd:2.4 + +COPY ./public_html/ /usr/local/apache2/htdocs/ +COPY ./conf/httpd.conf /usr/local/apache2/conf/httpd.conf + +EXPOSE 80 + + diff --git a/docker/conf/httpd.conf b/docker/conf/httpd.conf new file mode 100644 index 0000000..0cc1570 --- /dev/null +++ b/docker/conf/httpd.conf @@ -0,0 +1,80 @@ +# Apache httpd v2.4 minimal configuration +# This can be reduced further if you remove the accees log and mod_log_config +ServerRoot "/usr/local/apache2" + +# Minimum modules needed +LoadModule log_config_module modules/mod_log_config.so +LoadModule mime_module modules/mod_mime.so +LoadModule dir_module modules/mod_dir.so +LoadModule authz_core_module modules/mod_authz_core.so +LoadModule unixd_module modules/mod_unixd.so + +TypesConfig conf/mime.types + +PidFile logs/httpd.pid + +# Comment this out if running httpd as a non root user +User nobody + +# Port to Listen on +Listen *:80 + +# In a basic setup httpd can only serve files from its document root +#DocumentRoot "/usr/local/apache2/htdocs" + +# Default file to serve +DirectoryIndex index.html + +# Errors go to their own log +ErrorLog /dev/stderr + +# Access log +TransferLog /dev/stdout + +# Never change this block + + AllowOverride None + Require all denied + + +# Allow documents to be served from the DocumentRoot + + Options MultiViews + Require all granted + + +#Barra +LoadModule deflate_module modules/mod_deflate.so +LoadModule expires_module modules/mod_expires.so +LoadModule filter_module modules/mod_filter.so +LoadModule headers_module modules/mod_headers.so +LoadModule file_cache_module modules/mod_file_cache.so +LoadModule negotiation_module modules/mod_negotiation.so + +Header set Access-Control-Allow-Origin "*" + +AddType application/x-font-woff .woff + +AddHandler type-map .var +AddLanguage en .en +AddLanguage es .es +AddLanguage pt-BR .pt-br +AddLanguage fr .fr +DefaultLanguage pt-BR +LanguagePriority pt-BR en es fr +ForceLanguagePriority Fallback + +ExpiresActive On +ExpiresDefault "access plus 1 week" +ExpiresByType application/x-font-woff "access plus 1 year" + +CacheFile /usr/local/apache2/htdocs/barra.js.pt-br +CacheFile /usr/local/apache2/htdocs/barra.js.es +CacheFile /usr/local/apache2/htdocs/barra.js.en +CacheFile /usr/local/apache2/htdocs/barra.js.fr + + + AddOutputFilterByType DEFLATE text/html text/plain text/css + AddOutputFilterByType DEFLATE text/javascript application/javascript + AddOutputFilterByType DEFLATE application/x-font-woff + diff --git a/docker/public_html/barra.js.en b/docker/public_html/barra.js.en new file mode 100644 index 0000000..b01dc60 --- /dev/null +++ b/docker/public_html/barra.js.en @@ -0,0 +1,2 @@ +/** @source http://softwarepublico.gov.br/gitlab/govbr/barra-govbr/ @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt CC0 */ !function(){var M,L,j,u,I='
Brazil
Services
';M=document.getElementById("barra-brasil"),M&&(M.removeAttribute("style"),M.innerHTML=I,j=document.getElementsByTagName("head")[0]),L=function(){var M,L;for(L=document.getElementsByTagName("meta"),M=0;M + + + + + + Barra Brasil + + + + + + + + + + + + Início do conteúdo +
+ +
+
+

Barra Brasil versão 2.1.22

+

ID do Ministério do Planejamento: http://estruturaorganizacional.dados.gov.br/id/unidade-organizacional/2981

+

Veja as instruções de como usar a barra no e-PWG.

+

Como requisito para a campanha seja habilitada é necessário ter carregado o jQuery versão 1.7 no mínimo. Esse carregamento deve ocorrer antes da chamada da barra.js

+

Habilitar Alto Contraste.

+

Contribua com a barra no software público brasileiro

+
+ + + + diff --git a/docker/public_html/opensans-bold.woff b/docker/public_html/opensans-bold.woff new file mode 100644 index 0000000..27619e7 Binary files /dev/null and b/docker/public_html/opensans-bold.woff differ -- libgit2 0.21.2