Skip to content

doka/Aegir-Docker-K8S

Repository files navigation

Run Aegir in Docker or Kubernetes

This is a Docker and Kubernetes environment to run, test and develop Aegir.

Images are based on PHP 7.0 and Apache2, and mariadb:

Usage in Docker:

  1. read and change docker-compose.yml:
  • change MYSQL_ROOT_PASSWORD (for both services!)
  • set AEGIR_VERSION as you wish
  1. choose images:
  • default is to download images from wepoca/aegir
  • to use your local build, uncomment line build: . and remove the line image: wepoca/aegir
  1. 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

  1. 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

Usage in Kubernetes:

  1. 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
  1. 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

  1. check status:
  • kubectl get all
  1. shut down:
    • full shutdown, including remove of all data on persistent volumes:

      kubectl delete -f k8s-deployment.yaml

About

Aegir with Drupal & CiviCRM in Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published