File tree Expand file tree Collapse file tree 5 files changed +121
-24
lines changed
Expand file tree Collapse file tree 5 files changed +121
-24
lines changed Original file line number Diff line number Diff line change 1+ name : DEPLOY_JUPYTER
2+ on :
3+ pull_request :
4+ types : [closed]
5+ branches :
6+ - main
7+ paths :
8+ - ' ml-api/**'
9+ env :
10+ DOCKERHUB_PASSWORD : ${{ secrets.DOCKERHUB_PASSWORD }} # dockerhub pass
11+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }} # dockerhub user
12+ IMAGE : duynguyenngoc/mmip-api:latest # Image docker
13+
14+ jobs :
15+ build :
16+ name : Build
17+ runs-on : ubuntu-latest
18+ environment : production
19+ steps :
20+ # [Step-1] check config git
21+ - name : Checkout
22+ uses : actions/checkout@v2
23+ # [Step-2] login dockerhub container
24+ - name : Login to DockerHub Registry
25+ run : |
26+ echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_USERNAME --password-stdin
27+ # [Step-3] buid and tag image from Dockerfile
28+ - name : Build docker image
29+ run : |
30+ docker build -t $IMAGE --no-cache ./ml-api/
31+ # [Step-4] Push image to docker hub
32+ - name : Push image to DockerHub
33+ run : |
34+ docker push $IMAGE
Original file line number Diff line number Diff line change 1+ name : DEPLOY_SPARK
2+ on :
3+ pull_request :
4+ types : [closed]
5+ branches :
6+ - main
7+ paths :
8+ - ' ml-celery/**'
9+
10+ env :
11+ DOCKERHUB_PASSWORD : ${{ secrets.DOCKERHUB_PASSWORD }} # dockerhub pass
12+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }} # dockerhub user
13+ IMAGE : duynguyenngoc/mmip-celery:latest # Image docker
14+
15+ jobs :
16+ build :
17+ name : Build
18+ runs-on : ubuntu-latest
19+ environment : production
20+ steps :
21+ # [Step-1] check config git
22+ - name : Checkout
23+ uses : actions/checkout@v2
24+ # [Step-2] login dockerhub container
25+ - name : Login to DockerHub Registry
26+ run : |
27+ echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_USERNAME --password-stdin
28+ # [Step-3] buid and tag image from Dockerfile
29+ - name : Build docker image
30+ run : |
31+ docker build -t $IMAGE --no-cache ./ml-celery/
32+ # [Step-4] Push image to docker hub
33+ - name : Push image to DockerHub
34+ run : |
35+ docker push $IMAGE
Original file line number Diff line number Diff line change 1+ name : DEPLOY_AIRFLOW
2+ on :
3+ pull_request :
4+ types : [closed]
5+ branches :
6+ - main
7+ paths :
8+ - ' ml-client/**'
9+
10+ env :
11+ DOCKERHUB_PASSWORD : ${{ secrets.DOCKERHUB_PASSWORD }} # dockerhub pass
12+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }} # dockerhub user
13+ IMAGE : duynguyenngoc/mmip-client:latest # Image docker
14+
15+ jobs :
16+ build :
17+ name : Build
18+ runs-on : ubuntu-latest
19+ environment : production
20+ steps :
21+ # [Step-1] check config git
22+ - name : Checkout
23+ uses : actions/checkout@v2
24+ # [Step-2] login dockerhub container
25+ - name : Login to DockerHub Registry
26+ run : |
27+ echo $DOCKERHUB_PASSWORD | docker login -u $DOCKERHUB_USERNAME --password-stdin
28+ # [Step-3] buid and tag image from Dockerfile
29+ - name : Build docker image
30+ run : |
31+ docker build -t $IMAGE --no-cache ./ml-client/
32+ # [Step-4] Push image to docker hub
33+ - name : Push image to DockerHub
34+ run : |
35+ docker push $IMAGE
Original file line number Diff line number Diff line change @@ -63,21 +63,21 @@ services:
6363 networks :
6464 - mlnet
6565
66- ml-client :
67- build :
68- context : ./ml-client
69- dockerfile : ./Dockerfile
70- environment :
71- DOMAIN : localhost
72- BE_HOST : ml-api
73- BE_PORT : 8081
74- container_name : ml-client
75- restart : unless-stopped
76- ports :
77- - 80:80
78- command : sh -c "./custom_nginx.sh && nginx -g 'daemon off;'"
79- networks :
80- - mlnet
66+ # ml-client:
67+ # build:
68+ # context: ./ml-client
69+ # dockerfile: ./Dockerfile
70+ # environment:
71+ # DOMAIN: localhost
72+ # BE_HOST: ml-api
73+ # BE_PORT: 8081
74+ # container_name: ml-client
75+ # restart: unless-stopped
76+ # ports:
77+ # - 80:80
78+ # command: sh -c "./custom_nginx.sh && nginx -g 'daemon off;'"
79+ # networks:
80+ # - mlnet
8181
8282
8383networks :
Original file line number Diff line number Diff line change @@ -9,13 +9,6 @@ import Hotmail from '../../assets/images/dashboard/hotmail.png'
99import Gmail from '../../assets/images/dashboard/gmail.png'
1010
1111
12-
13-
14-
15-
16-
17-
18-
1912const Footer = ( props ) => {
2013 return (
2114 < >
@@ -36,7 +29,7 @@ const Footer = (props) => {
3629 < h3 > Contact</ h3 >
3730 < div className = 'footer-content-contact' >
3831 < div className = 'fcl-item' >
39- < a href = 'tel:+31202256153 ' >
32+ < a href = 'tel:+84399360638 ' >
4033 < img className = "fcli-image" src = { Mobile } alt = "" > </ img >
4134 +84 399 360 638
4235 </ a >
@@ -59,7 +52,7 @@ const Footer = (props) => {
5952 < h3 > More Info</ h3 >
6053 < div className = "footer-content-link" >
6154 < div className = 'fcl-item' >
62- < a href = 'https://github.com/apot-group ' >
55+ < a href = 'https://github.com/dnguyenngoc ' >
6356 < img className = "fcli-image" src = { Github } alt = "" > </ img >
6457 Github
6558 </ a >
You can’t perform that action at this time.
0 commit comments