- Notifications
You must be signed in to change notification settings - Fork0
A minimal deployment tool for Amazon Lightsail.
License
NotificationsYou must be signed in to change notification settings
fujiwara/sailtrim
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A minimal deployment tool forAmazon Lightsail Container.
usage: sailtrim [<flags>] <command> [<args> ...]Flags: --help Show context-sensitive help (also try --help-long and --help-man). --log-level=info log level (trace, debug, info, warn, error) --config="config.yaml" configuration file pathCommands: help [<command>...] Show help. version show version deploy create new deployment update update container service status [<flags>] show container service status init --service-name=SERVICE-NAME initialize a container service logs [<flags>] show logs
# config.yamlservice:service.jsondeployment:deployment.json
service.json
represents container service attributes.
{"containerServiceName":"container-service-1","power":"micro","scale":1}
deployment.json
represents a deployments of container service.
{"containers": {"nginx": {"image":"nginx:latest","command": [],"environment": {"FOO":"BAR" },"ports": {"80":"HTTP" } } },"publicEndpoint": {"containerName":"nginx","containerPort":80,"healthCheck": {"healthyThreshold":2,"unhealthyThreshold":2,"timeoutSeconds":2,"intervalSeconds":5,"path":"/","successCodes":"200-499" } }}
MIT License
Copyright (c) 2020 FUJIWARA Shunichiro
About
A minimal deployment tool for Amazon Lightsail.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published