Go through this list before your team signs in and before an agent starts enriching. It assumes the reference compose.yaml from Installation.
Network and HTTPS
- Put a reverse proxy with TLS in front of port 3000, and send every path of your domain to it: the console,
/apiand/mcpshare one origin. - Set
PUBLIC_URLto the publichttps://address. GitAudience writes it into invitation links, into the GitHub Apps it creates and into the MCP command your agent runs. To change it later, follow Changing the domain. - Set
TRUST_PROXYto the number of proxies in front of theapi:1in the reference compose file. The limits on sign-in attempts count per IP address, read fromX-Forwarded-Foraccording to this value. - The compose file publishes port 3000 on every interface. When the proxy runs on the same server, set
API_PORT=127.0.0.1:3000in.env, or close the port in your firewall. - Let the server reach
api.github.com, your SMTP server andcheck.gitaudience.com. Withoutcheck.gitaudience.com, every project stays under the free limit.
Secrets and database
- Generate one random
POSTGRES_PASSWORDand oneSECRET_KEY(32 random bytes in base64). KeepSECRET_KEYwith your backups. - Password of the single application account
gitaudience, shared by migrate, API and worker. The reference Compose file passesPGHOST,PGPORT,PGDATABASE,PGUSERandPOSTGRES_PASSWORDseparately. Use these structured settings orDATABASE_URL, never both. Special characters in the password are supported; percent-encode credentials when writing a URL yourself. Keep$literal according to your environment-file quoting rules. - Keep PostgreSQL off the network. The reference compose file publishes no port for it.
- Run exactly one
apiand oneworker. Sign-in limits and the limit check live in each process’s memory.
- Check that a sign-in code arrives at
ROOT_EMAIL. Sign-in codes and invitations go through the SMTP server in.env; nobody can sign in without it. - The
workeruses the same server to email owners when an alert is raised, such as a sync that could not read the full list of stargazers or a repository that became private. - Keep the rescue command at hand:
docker compose exec api gitaudience login-link <email>prints a one-time sign-in link for an active user, without email.
Users and access
ROOT_EMAILis a permanent owner. Invite the rest of the team from Settings › Users, as Owner or Member. Members can read everything, email addresses included, and can export, annotate and filter. Only owners configure projects, review answers, and manage tokens, GitHub Apps and users. See Users.- Each MCP token belongs to one project. Removing a user revokes the tokens they created on every project.
Backups
- Run
backup.shon a schedule and copy the dumps off the server, with.env. Backups gives the commands. - Restore one dump into an empty installation at least once, and sign in to check a project, before you rely on it.
Updates
- Pin the release in
GITAUDIENCE_IMAGE, so that nothing changes until you decide. When Update available shows in the sidebar footer, follow Upgrade to a new release. - Decide on the daily version check:
RELEASE_CHECK_ENABLED=falseturns it off.
Database size
- The reference settings in
deploy/postgres/postgresql.reference.conf, in the repository, are sized for 100,000 people on a server with 8 GB of RAM. Scale the memory settings to your server.
Monitoring
- Watch
GET /health. It answers200with{"status":"ok"}when theapireaches its database within 2 seconds, and503otherwise. The compose file uses it as theapihealth check. - Read the logs with
docker compose logs -f api worker.LOG_LEVELsets the level,infoby default. Logs never contain tokens, sign-in codes, secrets or email addresses. - Watch the alerts in the console: each project shows its own as a banner, to every user, until the cause goes away.