This is a Docker and Kubernetes environment to run, test and develop Aegir.
Images are based on PHP 7.0 and Apache2, and mariadb:
- read and change docker-compose.yml:
- change
MYSQL_ROOT_PASSWORD
(for both services!) - set
AEGIR_VERSION
as you wish
- choose images:
- default is to download images from wepoca/aegir
- to use your local build, uncomment
line build: .
and remove the lineimage: wepoca/aegir
- use docker-compose.yml to start up volumes, containers to fly :)
-
start up using wepoca/aegir:
docker-compose up
-
or start up using your own local builds:
docker-compose up --build
- shut down:
-
stop containers, but maintain persistent data:
docker-compose down
-
full shutdown, including remove of all data on persistent volumes:
docker-compose down --volume
- read and change k8s-deployment.yaml:
- set
AEGIR_VERSION
as you wish - change database root password (as secret)
- optionally, adapt storage settings to your cluster setup
- use k8s-deployment.yaml to start up volumes, services and deployments to fly :)
-
start up using wepoca/aegir image:
kubectl create -f k8s-deployment.yaml
- check status:
kubectl get all
- shut down:
-
full shutdown, including remove of all data on persistent volumes:
kubectl delete -f k8s-deployment.yaml
-