Managing Authgate with Docker Compose
Authgate’s deployment is based on Docker Compose. So to monitor and manage Authgate, you need to use Docker Compose commands.
All docker compose commands must be run from the docker/ folder:
cd docker
docker compose <command>Useful Commands
View logs:
docker compose logs -fRestart Authgate:
docker compose restartStop Authgate:
docker compose downManual Installation with Docker Compose
This guide is for setting up Authgate manually if you want to do it yourself.
When to Use This
Use manual installation if:
- You’re not running Debian 12
- You know how to use Docker and Docker Compose
For most users: I recommend using the setup script instead - it’s much easier.
What You Need
- Docker and Docker Compose installed on your server
- A domain name pointing to your server
- An SSL certificate for your domain
Installation Steps
- Copy the example configuration file:
cd docker
cp env.example .env-
Edit the
.envfile with your settings:- Change all passwords (look for “change-this”)
- Set your domain name
- Set your admin username and password
- Optionally set
HTTP_PORTandHTTPS_PORTif ports 80/443 are already in use
-
Put your SSL certificate files in the
docker/ssl/folder:certificate.crt(your certificate)certificate.key(your private key)
-
Start Authgate:
docker compose build
docker compose up -dVisit your domain to access Authgate and log in with your admin credentials.
For updates, use the update script instead of manually updating.
Last updated on