DISCLAIMER: Work in Progress. This repo will change.
- Localhost
- Best for simple initial DevGuard test on localhost.
- OrbStack
- Also great for localhost testing if you are using OrbStack. Advantage over Localhost deployment is that you get SSL support out of the box through OrbStacks zero-config SSL certificates.
- Traefik
- In case you want to make DevGuard accessible from other computers this is the recommended way.
Clone this repo first.
git clone git@github.com:l3montree-dev/devguard-docker-deployment.gitThe easiest way to get started is the interactive setup which let's you pick a deployment option (Localhost, OrbStack, or Traefik).
# Run configuration script
docker compose -f compose.configure.yaml run --rm configureCopy .env.example to .env and edit it
# Generates the encryption key + configs and initializes the database.
docker compose -f compose.yaml -f compose.setup.yaml up devguard-setup postgresql# Launch with Localhost / HTTP
docker compose -f compose.yaml -f compose.localhost.yaml up -d --remove-orphans
# Launch with Reverse Proxy (Traefik)
docker compose -f compose.yaml -f compose.traefik.yaml up -d --remove-orphans
# Launch with Reverse Proxy (OrbStack)
docker compose -f compose.yaml -f compose.orbstack.yaml up -d --remove-orphansdocker compose down -v --remove-orphans # after this you need to run the initial setup again