About
How it Works
graph LR
Webhook/CI & CLI --> API -->|Project Deployment| p[Git Pull] --> d[Docker Deploy] --> n[Notify]
API -->|Page Upload| f[Extract Payload] --> c[Config Update] --> n
- create a project pointing to a git repository, authenticate by ssh key or PAT
- a project can have several deployment environments pointing to different branches
- deployments are triggered by cli/API or Webhook/CI
- environment variables are available on runtime and can be referenced within
compose.yml - environment determines additional files for merging, ie
productioncorresponds tocompose.production.yml:
deployment setup examples
- deploy environment
devfrom project source repo branchdevelopimmediately on webhook call - deploy environment
stagingfrom project source repo whenlatestdocker image tag has been updated or webhook - deploy environment
productionon changes in infrastructure repo with fixed versions - deploy static content by pushing directly to API simply by
curl
Project Database Relationship
graph LR
p[Project]
p --> g[Git-Key]
p -->|branch| e[Environment] --> v[Variables] --> Key & Value
Repository Example Structure
deployment merges files matching the environment name, ie:
$DATA_DIR/ structure
Was this page helpful?