mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00

* 4.1.6-rc2 changelog * 4.1.6-rc2 changelog * PHRAS-3485 fix traefik under Phrasea * fixe typo
1.0 KiB
1.0 KiB
Deploy stack to minikube
Setup
status : Alpha
minikube start
minikube addons enable ingress
Get the minikube IP:
minikube ip
Refer to sample.yaml to get all domains.
Add these domains to your /etc/hosts
:
# Alchemy Minikube
192.168.49.2 phraseanet-bo.alchemy.kube
# ... add other domains
For a quicker setup we will use the nginx configuration explained in dev-with-nginx
Build local image in minikube
If you need to test your fresh image directly into minikube cluster, you need to build them with the Mminikube Docker daemon:
eval $(minikube docker-env)
docker-compose build
Alternatively you can run a registry in minikube and push your images: https://minikube.sigs.k8s.io/docs/handbook/pushing/#4-pushing-to-an-in-cluster-using-registry-add
If your minikube server name is not "minikube" define it in MINIKUBE_NAME
infra/dev/deploy-minikube.sh install
infra/dev/deploy-minikube.sh update
infra/dev/deploy-minikube.sh uninstall