Skip to content

Environment Settings

Configuration Location

Magellon is configured through a .env file in the Docker/ directory. Start from the example and edit in place:

Terminal window
cp .env.example .env
Terminal window
MAGELLON_HOME_PATH=/magellon/home
MAGELLON_GPFS_PATH=/magellon/gpfs
MAGELLON_JOBS_PATH=/magellon/jobs

These map into each container at fixed mount points, so code inside the stack can assume /gpfs, /jobs, and the home directory without any per-deploy changes.

Default Configuration

.env.example ships with sensible defaults for a single-node Docker install. Most deployments run unmodified — only touch these settings when your environment differs from the bundled stack.

AreaDefaultWhen to override
Database credentialsBundled MySQL containerPointing at an external database
Logging levelQuiet defaults per serviceRaise to DEBUG to diagnose failures; lower to WARN in production
GPU selectionAll visible GPUsSet CUDA_VISIBLE_DEVICES to pin specific cards for motion correction
GPU Pinning Example

To restrict the motion-correction plugin to specific GPUs:

Terminal window
CUDA_VISIBLE_DEVICES=0,1