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
| Concept | Description |
|---|---|
| Workspace | Contains projects and holds the plan and billing. Every account has a personal workspace. |
| Project | A group of related apps. The console shows each project as a canvas. |
| Source | A repository at a branch, connected to a project. A source can produce several apps. |
| App | A deployable unit built from one directory of a source, with its own address. |
| Deployment | A build of an app that has been rolled out. One deployment per app is live. |
| Networking | Public access, service ports and the connections between apps. |
| Domain | A hostname an app answers on: its lilylabs.app address or a custom domain. |
| Environment variables | Configuration an app receives at startup. |
| Database | A database shared by the apps of a project. |
| Logs | Output 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.