Run Atlas
Atlas is published as a container image, ghcr.io/sunstead/atlas, built for x86-64 Linux. It
listens on port 8080 and serves its own web app.
Try it on your computer
Section titled “Try it on your computer”This starts Atlas with a built-in user, so you can look around without setting up sign-in:
docker run -p 8080:8080 \ -e ATLAS_DEV_USER=me \ -e ATLAS_PUBLIC_URL=http://localhost:8080 \ -v atlas-state:/state \ -v atlas-index:/index \ ghcr.io/sunstead/atlasOpen http://localhost:8080. On an Apple silicon Mac, add --platform linux/amd64 after
docker run.
Run it on a server
Section titled “Run it on a server”On a server, sign-in goes through your OpenID Connect identity provider. Register Atlas as a
confidential client (with a client secret), and allow https://atlas.example.com/auth/callback,
using your ATLAS_PUBLIC_URL, as a redirect URI.
services: atlas: image: ghcr.io/sunstead/atlas restart: unless-stopped ports: - '8080:8080' environment: ATLAS_PUBLIC_URL: https://atlas.example.com ATLAS_OIDC_ISSUER: https://auth.example.com/application/o/atlas/ ATLAS_OIDC_CLIENT_ID: atlas ATLAS_OIDC_CLIENT_SECRET_FILE: /run/secrets/atlas_client_secret ATLAS_MASTER_KEY_FILE: /run/secrets/atlas_master_key secrets: - atlas_client_secret - atlas_master_key volumes: - atlas-state:/state - atlas-index:/index
secrets: atlas_client_secret: file: ./secrets/atlas_client_secret atlas_master_key: file: ./secrets/atlas_master_key
volumes: atlas-state: atlas-index:Make the master key with openssl rand -base64 32. Atlas uses it to seal the API keys it saves
for your sources.
Sign-in settings
Section titled “Sign-in settings”| Variable | What it does |
|---|---|
ATLAS_PUBLIC_URL |
The address people use to reach Atlas. Required with sign-in. |
ATLAS_OIDC_ISSUER |
Your identity provider’s issuer URL. Turns on sign-in. |
ATLAS_OIDC_CLIENT_ID |
The client ID registered with your provider. |
ATLAS_OIDC_CLIENT_SECRET |
The client secret, or ATLAS_OIDC_CLIENT_SECRET_FILE to read it from a file. |
ATLAS_OIDC_ALLOWED_GROUPS |
Groups allowed to sign in. |
ATLAS_MASTER_KEY |
Seals saved API keys, or ATLAS_MASTER_KEY_FILE to read it from a file. |
ATLAS_BIND |
The address and port to listen on. Default 0.0.0.0:8080. |
Connect your sources
Section titled “Connect your sources”Each source appears on the connections page in Atlas once its setting is present.
| Variable | Source |
|---|---|
ATLAS_IMMICH_URL |
Your Immich server, for photos. |
ATLAS_OPENCLOUD_URL |
Your OpenCloud server, for files. |
ATLAS_SOLSTICE_NOTES_DIR |
The notes folder of Solstice Sync, mounted into Atlas. |
The notes folder has one folder per person, each holding their workspaces, which is how Solstice
Sync stores them. Mount it read-only, for example - ./notes:/notes:ro with
ATLAS_SOLSTICE_NOTES_DIR: /notes.