Fundamentals

Overview

The building blocks of LILY and how they relate.

A workspace contains projects. A project contains the apps built from one or more repositories, the databases they use and the rules that control which apps may call each other.

Workspace: Acme
Project: shop
acme/shop
main
copperfox
Live
copperfox.lilylabs.app
:8080
cinderrock
Live
cinderrock.lilylabs.app
postgres
used by 1 app
A workspace with one project. The repository produced two apps. copperfox may call cinderrock, which uses a database.
ConceptDescription
WorkspaceContains projects and holds the plan and billing. Every account has a personal workspace.
ProjectA group of related apps. The console shows each project as a canvas.
SourceA repository at a branch, connected to a project. A source can produce several apps.
AppA deployable unit built from one directory of a source, with its own address.
DeploymentA build of an app that has been rolled out. One deployment per app is live.
NetworkingPublic access, service ports and the connections between apps.
DomainA hostname an app answers on: its lilylabs.app address or a custom domain.
Environment variablesConfiguration an app receives at startup.
DatabaseA database shared by the apps of a project.
LogsOutput of builds and running apps.

Names and IDs

Each object has an ID with a type prefix: wrk_ for workspaces, prj_ for projects, src_ for sources, app_ for apps and cmd_ for commands. The CLI accepts an ID wherever it accepts a name.

A project has the name you assign. It is part of the console URL, for example platform.lilylabs.io/shop/apps. An app has a name you assign and a slug assigned by LILY, for example copperfox. The slug is the app's address and does not change. See Name and slug.

On this page