deployment

Defguard deployment

We prepared a git repository with deployment configuration, clone it:

git clone git@github.com:DefGuard/deployment.git

The repository contains configuration files for:

Docker Compose deployment

In docker-compose directory you’ll find a template env file called .env.template. Copy it:

cd docker-compose
cp .env.template .env

And then edit the values in .env file to setup your secrets. Those should be kept… well, secret.

Once that’s done you can start the stack with:

docker-compose up

Make sure you have Docker and Docker Compose installed.

That’s it, Defguard should be running on port 80 of your server (http://localhost if you’re running locally).

Kubernetes deployment

Helm must be installed to use the charts. Please refer to Helm’s documentation to get started.

Once Helm has been set up correctly, add the repo as follows:

helm repo add <alias> https://defguard.github.io/deployment

If you had already added this repo earlier, run helm repo update to retrieve the latest versions of the packages. You can then run `helm search repo

` to see the charts. To install the defguard chart: ``` helm install my-defguard /defguard ``` To uninstall the chart: ``` helm delete my-defguard ```