Environment Variables
Reference for the main environment variables supported by SculptOps.
Set production values in your deployment environment or secret manager. Do not commit real secrets to the repository.
Required
| Variable | Description |
|---|
| DATABASE_URL | PostgreSQL connection string. |
| AUTH_SECRET | Secret used by Auth.js to sign sessions. |
| AUTH_URL | Public URL users use to access the app. |
| ENCRYPTION_KEY | 64-character hex key used to encrypt stored credentials. |
DangerLosing ENCRYPTION_KEY means encrypted SSH keys, vault passwords, and SMTP passwords cannot be recovered.
Public app settings
| Variable | Description |
|---|
| NEXT_PUBLIC_APP_URL | Public base URL used in user-facing links. |
| NEXT_PUBLIC_APP_NAME | Optional display name for the app. |
Ansible execution
| Variable | Default | Description |
|---|
| ANSIBLE_DOCKER_IMAGE | cytopia/ansible:latest | Image used for execution containers. |
| ANSIBLE_DOCKER_NETWORK | bridge | Docker network for execution containers. |
| ANSIBLE_EXECUTION_TIMEOUT | 1800 | Maximum execution duration in seconds. |
| ANSIBLE_MAX_MEMORY | 2g | Memory limit per execution. |
| ANSIBLE_MAX_CPUS | 4 | CPU limit per execution. |
| ANSIBLE_MAX_PIDS | 512 | PID limit per execution. |
| ANSIBLE_HOST_KEY_CHECKING | False | Controls Ansible host key checking. |
Outbound security
| Variable | Default | Description |
|---|
| ALLOW_PRIVATE_OUTBOUND | false | Allow callbacks to private/internal IP ranges. |
| ALLOW_INSECURE_OUTBOUND_HTTP | false | Allow non-HTTPS outbound callback URLs. |
Community library
| Variable | Description |
|---|
| COMMUNITY_API_URL | URL of the community API service. Leave unset to disable community features. |
| COMMUNITY_SUBMIT_KEY | Shared submit key for community submissions. |
Development only
| Variable | Description |
|---|
| SKIP_AUTH | Bypasses login for local development. Do not enable in production. |
Generating secrets
| Variable | Example command |
|---|
| ENCRYPTION_KEY | openssl rand -hex 32 |
| AUTH_SECRET | openssl rand -base64 48 |