Install with Docker¶
When to use this page¶
Use this guide when running SkyCMS in containers for local testing, development, or self-hosted deployments.
Prerequisites¶
- Docker and Docker Compose.
- Environment variables or mounted configuration for required SkyCMS settings.
- Persistent volume strategy for database/content where applicable.
Compose configuration¶
Configure required settings through environment variables in your compose file:
ConnectionStrings__ApplicationDbContextConnectionConnectionStrings__StorageConnectionStringAzureBlobStorageEndPointCosmosPublisherUrlCosmosAllowSetup=true(initial setup only)
Use CosmosAllowSetup=false after setup completes.
Start containers¶
docker compose up -d
Open the application URL and navigate to /___setup to complete configuration.
Initialize SkyCMS¶
- Complete setup wizard steps.
- Finalize and allow the container to restart.
- Sign in with the admin account created during setup.
Common Docker issues¶
- App restarts repeatedly: verify required environment variables and connection strings.
- Cannot persist data: validate mounted volume paths and write permissions.
- Setup not available: ensure
CosmosAllowSetup=truefor first run.