asw101 / a3e

Simple container deployment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a3e

Simple container deployment

Sample Config

name = "athens"
locations = ["eastus"]
id = {
    subscription-id = "5ea9ae04-3601-468a-ba84-cb7e82ae1e48"
    resource-group = "my-resource-group"
}
containers = [
    {
        image = "gomods/athens:v0.3.1"
        ports = [3000]
        env = [
            // You can specify a default value for an environment variable,
            // but you can always override it with "A3E_<the env var name>".
            //
            // For example, you can override this environment variable with
            // "A3E_IN_THE_CLEAR"
            { name = "IN_THE_CLEAR", default = "SOMETHING" },
            // In this example, there is no default, so you have to set it
            // in your environment. That means if you don't set "A3E_SECRET_VAR"
            // in your environment, the deployment will fail
            { name = "SECRET_VAR" }
        ]
    }
]

About

Simple container deployment

License:MIT License


Languages

Language:Go 97.8%Language:Shell 2.0%Language:Makefile 0.2%