added confi for dev and prod
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -6,7 +6,7 @@ WORKDIR /app
|
|||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
COPY . ./
|
COPY . ./
|
||||||
COPY config.json_dev ./config.json
|
COPY config_dev.json ./config.json
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# --- Production stage ---
|
# --- Production stage ---
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ WORKDIR /app
|
|||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
COPY . ./
|
COPY . ./
|
||||||
COPY config.json_prod ./config.json
|
COPY config_prod.json ./config.json
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# --- Production stage ---
|
# --- Production stage ---
|
||||||
|
|||||||
17
config dev.json
Normal file
17
config dev.json
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
"minio": {
|
||||||
|
"endPoint": "sws3.innovation-hub-niedersachsen.de",
|
||||||
|
"port": 443,
|
||||||
|
"useSSL": true,
|
||||||
|
"accessKey": "wjpKrmaqXra99rX3D61H",
|
||||||
|
"secretKey": "fTPi0u0FR6Lv9Y9IKydWv6WM0EA5XrsK008HCt9u"
|
||||||
|
},
|
||||||
|
"jwt": {
|
||||||
|
"secret": "@S2!q@@wXz$dCQ8JoVsHLpzaJ6JCfB",
|
||||||
|
"expiresIn": 3600
|
||||||
|
},
|
||||||
|
"auth": {
|
||||||
|
"admin": { "password": "A-InnoHUB_2025!", "admin": true },
|
||||||
|
"user": { "password": "U-InnoHUB_2025!", "admin": false }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"jwt": {
|
"jwt": {
|
||||||
"secret": "@S2!q@@wXz$dCQ8JoVsHLpzaJ6JCfB",
|
"secret": "@S2!q@@wXz$dCQ8JoVsHLpzaJ6JCfB",
|
||||||
"expiresIn": 36000
|
"expiresIn": 3600
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"admin": { "password": "A-InnoHUB_2025!", "admin": true },
|
"admin": { "password": "A-InnoHUB_2025!", "admin": true },
|
||||||
Reference in New Issue
Block a user