You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
Make sure that your current shell has the correct environment variables setfor the `DOCKER_HOST` by running:
290
+
291
+
```
292
+
eval$(minikube docker-env)
293
+
```
294
+
295
+
296
+
297
+
We can pass the environment variables needed during the build process with `ARG` and `ENV`.
298
+
299
+
For `DOMAIN_NAME`, want to use an address that will point to the minikube Kubernetes cluster. Since the IP might change, we can set this to a named domain such as `test.dev`, and add a line to `/etc/hosts` that will point `test.dev` to the minikube IP. Then, we will need to setup a ingress to point `test.dev` to our `kubernetes-django-service` service.
295
300
296
-
We need to set the `DOMAIN_NAME` environment variable to `kubernetes-django-service`, and also set the port, and we should be able to access the backend from frontend AJAX calls.
0 commit comments