Skip to content

Commit c7b26f7

Browse files
author
erangi-ar
committed
feat: Update Vite configuration and environment settings for global classifier deployment
1 parent cc310d0 commit c7b26f7

9 files changed

Lines changed: 1002 additions & 530 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ FS_DATA_DIRECTORY_PATH=/app
99
S3_SECRET_ACCESS_KEY=minioadmin
1010
S3_ACCESS_KEY_ID=minioadmin
1111
S3_HEALTH_ENDPOINT=http://minio:9000/minio/health/live
12-
MINIO_BROWSER_REDIRECT_URL=http://localhost:9001
12+
MINIO_BROWSER_REDIRECT_URL=http://localhost:9001/minio-console
1313
GF_SECURITY_ADMIN_USER=admin
1414
GF_SECURITY_ADMIN_PASSWORD=admin123
1515
GF_USERS_ALLOW_SIGN_UP=false

GUI/Dockerfile.prod

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Build stage
2+
FROM node:22.0.0-alpine AS build
3+
WORKDIR /app
4+
COPY package*.json ./
5+
RUN npm install --legacy-peer-deps
6+
COPY . .
7+
RUN npm run build
8+
9+
# Serve stage
10+
FROM nginx:alpine
11+
COPY --from=build /app/build /usr/share/nginx/html
12+
#COPY nginx.conf /etc/nginx/conf.d/default.conf
13+
EXPOSE 80
14+
EXPOSE 3001
15+
16+
CMD ["nginx", "-g", "daemon off;"]

GUI/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ i18n
1010
.use(initReactI18next)
1111
.init({
1212
debug: import.meta.env.NODE_ENV === 'development',
13-
fallbackLng: 'et',
13+
fallbackLng: 'en',
1414
supportedLngs: ['et','en'],
1515
resources: {
1616
en: {

0 commit comments

Comments
 (0)