Docs
SupportGet Started
  • Get Started
  • Platform
  • Products
  • Tutorials
  • Enterprise
  • Products
  • Backend Capsule
    • Build and Deploy
    • Configure
    • Scale
    • Monitor
    • Logs
    • Alerting (Coming Soon)
    • Add a Procfile to a Backend Application
  • Database Capsule
    • Deploy
  • Configure
  • Scale
  • Backups
  • Monitor
  • Logs
  • Alerting (Coming Soon)
  • Migrations
  • Frontend capsule
    • Deploy
  • Configure
  • Scale
  • Monitor
  • Logs
  • Alerting (Coming Soon)
  • Custom Domains
  • Storage Capsule
    • Deploy
    • Configure
    • Scale
    • Monitor
    • Logs
    • Alerting (Coming Soon)
    • How State Works
  • Wordpress Capsule
    • Deploy
    • Configure
    • Scale
    • Monitor
    • Logs
    • Alerting (Coming Soon)
  • Enterprise Clusters
    • Overview
Powered by GitBook

© Copyright Code Capsules. All rights reserved.

On this page
  • Set the Project Path
  • Set the Build Command
  • Set the Build Output Directory
  • Environment Variables

Was this helpful?

Export as PDF

Configure

PreviousDeployNextScale

Last updated 23 days ago

Was this helpful?

To configure your Frontend Capsule, navigate to the "Config" tab.

Set the Project Path

Click "Edit" in the "Capsule Parameters" section to set where your HTML files are located. The default is / which works for most projects.

Set the Build Command

Click "Edit" in the "Capsule Parameters" section to set your build command. The default is Auto which automatically detects and runs your build process.

Set the Build Output Directory

Click "Edit" in the "Capsule Parameters" section to set where your built files end up. Leave as / if you're not using a build process.

Environment Variables

Frontend Capsules automatically get these environment variables:

  • APP_URL - Your capsule's public URL

To view variable values, click "show" in the "Environment Variables" section.

To add custom variables:

  1. Click "Key/Val Editor" or "Text Editor" in the "Environment Variables" section

  2. Edit the variable "Name" and "Value"

  3. Click "Save"

Configure Frontend Capsule