-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:scieloorg/design-system-statics
- Loading branch information
Showing
5 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM nginx:latest | ||
COPY css /www/data/static/css | ||
COPY img /www/data/static/img | ||
COPY js /www/data/static/js | ||
EXPOSE 80 | ||
CMD ["nginx", "-g", "daemon off;"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
# design-system-statics | ||
# design-system-statics | ||
|
||
Arquivos estáticos do SciELO Design System. | ||
|
||
Na raiz, temos a versão mais atual dos arquivos estáticos organizadas nos diretórios css, js e img. | ||
O diretório versions contém as versões mais recentes com possibilidade de edição para quando for necessário criar uma nova versão. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: '2' | ||
|
||
services: | ||
|
||
nginx: | ||
image: nginx:latest | ||
container_name: ds_nginx | ||
depends_on: | ||
- ds_webapp | ||
volumes: | ||
- ./nginx/conf.d:/etc/nginx/conf.d | ||
- ./nginx/logs:/var/log/nginx/ | ||
ports: | ||
- "80:80" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
server { | ||
listen 80; | ||
listen [::]:80; | ||
server_name ds; | ||
|
||
location /static { | ||
root /www/data | ||
client_max_body_size 1000m; | ||
client_body_buffer_size 128k; | ||
allow all; | ||
} | ||
|
||
gzip on; | ||
access_log /var/log/nginx/ds-access.log; | ||
error_log /var/log/nginx/ds-error.log warn; | ||
} |
Empty file.