Skip to content

Commit 849ca3b

Browse files
F/E Code Add
1 parent 1fcf171 commit 849ca3b

2,092 files changed

Lines changed: 120885 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

workflowFE/.browserslistrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

workflowFE/.env

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
NODE_ENV=
2+
3+
VUE_APP_NAME="STRATO M-CMP"
4+
VUE_APP_VERSION="0.0.1"
5+
VUE_APP_FULL_NAME="STRATO M-CMP Portal"
6+
VUE_APP_API_URL="http://localhost:18083"

workflowFE/.env.dev

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
NODE_ENV=dev
2+
3+
VUE_APP_NAME="STRATO M-CMP"
4+
VUE_APP_VERSION="0.0.1"
5+
VUE_APP_FULL_NAME="STRATO M-CMP"
6+
# VUE_APP_API_URL="http://172.16.11.182:18083"
7+
# VUE_APP_API_URL="http://172.16.11.101:18083"
8+
# VUE_APP_API_URL="http://10.10.30.27:30083"
9+
VUE_APP_API_URL="http://app.tb-cb.kro.kr:18083"

workflowFE/.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/src/assets

workflowFE/.gitignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
# /src/views/organization/dockerBuildServer
5+
6+
# local env files
7+
# .env*
8+
# .env.local
9+
# .env.*.local
10+
11+
dist.tar
12+
13+
# Log files
14+
npm-debug.log*
15+
yarn-debug.log*
16+
yarn-error.log*
17+
pnpm-debug.log*
18+
19+
# Editor directories and files
20+
.idea
21+
.vscode
22+
*.suo
23+
*.ntvs*
24+
*.njsproj
25+
*.sln
26+
*.sw?
27+
28+
yarn.lock
29+
package-lock.json

workflowFE/README.md

Lines changed: 24 additions & 0 deletions

workflowFE/babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ["@vue/cli-plugin-babel/preset"],
3+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM docker.io/nginx:1.17.6-alpine
2+
3+
COPY dist /usr/share/nginx/html
4+
5+
EXPOSE 8080
6+
7+
CMD ["nginx", "-g", "daemon off;"]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
server {
2+
listen 80;
3+
ssl off;
4+
5+
location / {
6+
alias /usr/share/nginx/html/;
7+
try_files $uri $uri/ /index.html;
8+
}
9+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
labels:
6+
devops.type: m-cmp-frontend
7+
name: m-cmp-frontend-deployment
8+
namespace: strato-product
9+
spec:
10+
replicas: 1
11+
selector:
12+
matchLabels:
13+
devops.type: m-cmp-frontend
14+
strategy:
15+
type: RollingUpdate
16+
template:
17+
metadata:
18+
labels:
19+
devops.type: m-cmp-frontend
20+
spec:
21+
affinity:
22+
podAntiAffinity:
23+
requiredDuringSchedulingIgnoredDuringExecution:
24+
- labelSelector:
25+
matchExpressions:
26+
- key: devops.type
27+
operator: In
28+
values:
29+
- m-cmp-frontend
30+
topologyKey: kerbernetes.io/hostname
31+
containers:
32+
- image: harbor.strato-solution.co.kr/strato/m-cmp-frontend:0.0.1
33+
imagePullPolicy: Always
34+
name: m-cmp-frontend-pod
35+
ports:
36+
- containerPort: 8080
37+
name: port-8080
38+
---
39+
apiVersion: v1
40+
kind: Service
41+
metadata:
42+
name: m-cmp-frontend-svc
43+
namespace: strato-product
44+
spec:
45+
type: NodePort
46+
ports:
47+
- name: port-8080
48+
port: 8080
49+
targetPort: 80
50+
nodePort: 32083
51+
selector:
52+
devops.type: m-cmp-frontend

0 commit comments

Comments
 (0)