This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +30
-5
lines changed
Expand file tree Collapse file tree 4 files changed +30
-5
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ version: '3.7'
33services :
44
55 frontend :
6- image : frontend:1
6+ image : frontend:2
77 build :
88 context : ../
99 dockerfile : nginx/minikube/Dockerfile
1010 args :
11- - DOMAIN_NAME=test.dev
11+ - DOMAIN_NAME=minikube.local
1212 - GOOGLE_OAUTH2_KEY=google123
1313 - GITHUB_KEY=github123
1414 - WS_PROTOCOL=ws
1515 - HTTP_PROTOCOL=http
1616
1717 backend :
18- image : backend:8
18+ image : backend:10
1919 build :
2020 context : ../backend/
2121 dockerfile : scripts/dev/Dockerfile
Original file line number Diff line number Diff line change 1515 containers :
1616 - name : backend
1717 imagePullPolicy : IfNotPresent
18- image : backend:8
18+ image : backend:10
1919 command : ["./manage.py", "runserver", "0.0.0.0:8000"]
2020 livenessProbe :
2121 httpGet :
Original file line number Diff line number Diff line change 1717 containers :
1818 - name : frontend
1919 imagePullPolicy : IfNotPresent
20- image : frontend:1
20+ image : frontend:2
Original file line number Diff line number Diff line change 1+ apiVersion : extensions/v1beta1
2+ kind : Ingress
3+ metadata :
4+ name : ingress-test
5+ spec :
6+ rules :
7+ - host : minikube.local
8+ http :
9+ paths :
10+ - path : /api/
11+ backend :
12+ serviceName : kubernetes-django-service
13+ servicePort : 8000
14+ - path : /admin/
15+ backend :
16+ serviceName : kubernetes-django-service
17+ servicePort : 8000
18+ - path : /static/
19+ backend :
20+ serviceName : kubernetes-django-service
21+ servicePort : 8000
22+ - path : /
23+ backend :
24+ serviceName : kubernetes-frontend-service
25+ servicePort : 80
You can’t perform that action at this time.
0 commit comments