Skip to main content
Compose your containerized and non-containerized services for localdev and deployments in HCL or any language with an SDK
Astronauts

project = "demo"

service "demo" {
type = "exec"
command = "ping $GITHUB_DOMAIN"
working_dir = "/tmp"
description = "Ping Service Example"
depends_on = []
env = {
"GITHUB_DOMAIN" = "github.com"
}
stdout = "/tmp/demo-stdout.log"
stderr = "/tmp/demo-stderr.log"
}

Define and run multi-service applications on isolated environments with Nix or Docker using HCL or any language you already know.
Support many different environments and runtimes, including Docker, Nix, Spin, WebAssembly and more.

project = "demo"

service "redis" {
type = "docker"
command = "redis-server"
working_dir = "."
description = "Redis Service Example"
depends_on = []
env = {}
port = 6379

use "docker" {
image = "redislabs/redismod:edge"
ports = ["6379:6379"]
}
}