Prevent index caching, automatic docker ports
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
5ebe800c5f
commit
777a2e5fed
|
@ -6,14 +6,14 @@ services:
|
|||
context: .
|
||||
dockerfile: front/Dockerfile
|
||||
ports:
|
||||
- ${FRONT_PORT:?}:80
|
||||
- 80
|
||||
deploy:
|
||||
replicas: 3
|
||||
back:
|
||||
image: registry.verdnatura.es/salix-back:${BRANCH_NAME:?}
|
||||
build: .
|
||||
ports:
|
||||
- ${BACK_PORT:?}:3000
|
||||
- 3000
|
||||
environment:
|
||||
- NODE_ENV
|
||||
configs:
|
||||
|
|
|
@ -11,4 +11,8 @@ server {
|
|||
location / {
|
||||
autoindex on;
|
||||
}
|
||||
location /index.html {
|
||||
expires -1;
|
||||
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue