Overview Config Options
Changing values in docker-compose.yml or in Advanced Settings always requires a restart to
take effect. Open a terminal, run docker compose stop and then
docker compose up -d to restart all services.
Web Application
There are a few options that can be changed in the web application.
These options are available though appsettings.json and environment variables.
There are no mandatory options, but it's recommended to change the storageFolder to a folder on your local machine where the picture should be located.
Environment variables are always preferred over appsettings.json values.
and should prefix with app__ and replace : with __ and . with _.
So app__databaseType is the same as "app":{"databaseType":"mysql"} in appsettings.json.
Command line options
There are separate command line applications that target the specific needs. See the Advanced options for more information.
Add the command line argument --help option to see all available options.
The options are configured in appsettings.json and environment variables and command line
arguments. The shortcut arguments below set the matching app__* environment variable:
| Argument | Short | Environment variable |
|---|---|---|
--databasetype | -d | app__DatabaseType |
--connection | -c | app__DatabaseConnection |
--basepath | -b | app__StorageFolder |
--thumbnailtempfolder | -f | app__ThumbnailTempFolder |
--exiftoolpath | -e | app__ExifToolPath |
--structure | -u | app__Structure__DefaultPattern |
--subpathrelative | -g | app__subpathrelative |
--clean | -x | app__ExifToolImportXmpCreate |
--tempfolder | -tf | app__TempFolder |
--dependencies | -dep | app__DependenciesFolder |
--appsettingspath | -asp | app__appsettingspath |
--appsettingslocalpath | -aspl | app__appsettingslocalpath |
Not every command line application supports every argument, run it with --help for the exact list.
Manual Overwrite settings for Desktop
If you want to manually overwrite the settings, you can use the appsettings.local.json file.
This file is located for macOS ~/Library/Application Support/starsky/appsettings.local.json
and Windows C:\Users\<username>\AppData\Local\starsky\appsettings.local.json.
When using the desktop app the environment variable app__AppSettingsLocalPath is used
Configuration overwrite order
Starsky reads configuration files and environment variables in a fixed order — later items override earlier ones. Use this order when you need to know which value wins when the same key is present in multiple places:
appsettings.json(project folder)appsettings.default.json(project folder)appsettings.patch.json(project folder)appsettings.{machineName}.json(machine-specific)appsettings.{machineName}.patch.json(machine-specific patch)- Environment variable:
app__appsettingspath(path to anappsettings.jsonto load) - Environment variable:
app__appsettingslocalpath(path to anappsettings.local.jsonto load) - Specific environment variables (for example
app__storageFolder,app__databaseConnection, etc.)
Notes:
- Environment variables use the
app__prefix and replace:with__and.with_(for exampleapp__databaseType). - Environment variables and the
app__appsettings*paths are a convenient way to override settings without editing files.
Storage Folder Mappings (example)
StorageFolderMappings lets you point a virtual sub-path to a physical directory outside
StorageFolder — useful for mounting cold-storage or archive drives without moving files.
Environment variable example (one variable per mapping):
app__StorageFolderMappings__/archive/2020=/data/cold-storage/2020
Or appsettings.json section:
"StorageFolderMappings": {
"/archive/2020": "/data/cold-storage/2020",
"/archive/2021": "/data/cold-storage/2021"
}
The physical directory must exist before the application starts. After adding a mapping, run a recursive sync so the virtual folder is indexed.
Import Backup (example)
The Import Backup feature can be configured either via environment variables or in appsettings.json. This is an example, it can be used with all features in the appSettings
Environment variable example:
"app__ImportBackup__Enabled": "true",
"app__ImportBackup__StorageFolder": "/data/backup_camera/1/"
Or appsettings.json section:
"ImportBackup": {
"Enabled": "false",
"StorageFolder": ""
}
When enabled, imported files are copied to the configured storage folder using a fixed filename structure (for example 20260326_082007_Schermafbeelding-2026-03-26-om-082007.png).
For more details see the Import documentation: Import Backup
Other settings
CloudImport: see Cloud import for the provider settings.McpEnabled,McpAllowWriteandMcpMaxItemsPerCall: see MCP for AI agents.ReadOnlyFolders: list of folders that can never be edited, for exampleapp__ReadOnlyFolders__0=/archive. The default is an empty list.TrustedProxiesandTrustedProxiesCloudflare: see Proxies.- All other settings are listed in the web application settings.