Configuration

Core environment variables supported by SculptOps.

SculptOps is configured with environment variables. In Docker Compose deployments, define them in your deployment environment or in a git-ignored .env file.

Core

VariableRequiredDescription
DATABASE_URLYesPostgreSQL connection string.
AUTH_SECRETYesRandom secret used by Auth.js for session signing.
AUTH_URLYes in productionExternal base URL of the app.
ENCRYPTION_KEYYes64-character hex key used to encrypt stored secrets.
NEXT_PUBLIC_APP_URLYes in productionExternal app URL used for user-facing links.
NEXT_PUBLIC_APP_NAMENoDisplay name shown in parts of the UI.
Danger
Never commit AUTH_SECRET or ENCRYPTION_KEY. Store production values in your deployment secret manager.

Ansible execution

VariableDefaultDescription
ANSIBLE_DOCKER_IMAGEcytopia/ansible:latestContainer image used for Ansible runs.
ANSIBLE_DOCKER_NETWORKbridgeDocker network used by execution containers.
ANSIBLE_EXECUTION_TIMEOUT1800Maximum execution duration in seconds.
ANSIBLE_MAX_MEMORY2gMemory limit for an execution container.
ANSIBLE_MAX_CPUS4CPU limit for an execution container.
ANSIBLE_MAX_PIDS512PID limit for an execution container.

Outbound security

VariableDefaultDescription
ALLOW_PRIVATE_OUTBOUNDfalseAllow outbound callbacks to private IP ranges. Enable only for trusted internal deployments.
ALLOW_INSECURE_OUTBOUND_HTTPfalseAllow non-HTTPS outbound callback URLs. Not recommended for production.

Community library

VariableRequiredDescription
COMMUNITY_API_URLNoURL of the community API. Leave unset to disable community features.
COMMUNITY_SUBMIT_KEYIf community is enabledSubmit key shared with the community API.