Skip to content

Configuration

niketchandra edited this page Nov 27, 2026 · 1 revision

Configuration

The installer and updater write .env next to docker-compose.yml. A manual install copies .env.example.

Variable Default Meaning
ATGLANCE_VERSION latest Image tag to run (latest, a release, or rollback-<time> after a rollback)
ATGLANCE_REGISTRY ghcr.io/atglance-system/atglance Image registry and namespace (atglance = Docker Hub)
APP_PORT 8000 Host port of the web console
GATEWAY_PORT 8002 Host port of the API gateway
DB_PASSWORD — (required) MySQL password of the atglance user
DB_ROOT_PASSWORD — (required) MySQL root password
REDIS_PASSWORD — (required) Redis password
DOCKER_SOCKET /var/run/docker.sock Docker socket for the controller (rootless Docker)

The passwords have no defaults: MySQL does not start without them. The two MySQL passwords are fixed into the database volume when it is first created; changing them later in .env alone locks the app out (see Troubleshooting).

App settings (mail, SSO, storage, licence) are made in the console and stored in /app/storage/.env in the app-storage volume, not in this .env.

Clone this wiki locally