5 Commits

3 changed files with 26 additions and 2 deletions

19
docker-compose.dev.yml Normal file
View File

@@ -0,0 +1,19 @@
services:
drill-ui-dev:
container_name: container-drill-ui${branch:+-${branch}}
build:
context: .
args:
VITE_DIAGRAM_API_URL: ${VITE_DIAGRAM_API_URL}
VITE_TOIR_LIGHT_ORIGIN: ${VITE_TOIR_LIGHT_ORIGIN}
VITE_KEYCLOAK_URL: ${VITE_KEYCLOAK_URL}
VITE_KEYCLOAK_REALM: ${VITE_KEYCLOAK_REALM}
VITE_KEYCLOAK_CLIENT_ID: ${VITE_KEYCLOAK_CLIENT_ID}
expose:
- "80"
networks:
- proxy
networks:
proxy:
external: true

View File

@@ -1,6 +1,6 @@
services: services:
drill-ui: drill-ui:
container_name: drill-ui${branch:+-${branch}} container_name: container-drill-ui${branch:+-${branch}}
build: build:
context: . context: .
args: args:

View File

@@ -7,5 +7,10 @@ server {
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
# отключаем кеширование вообще пока активная разработка
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
add_header Pragma "no-cache";
add_header Expires "0";
} }
} }