Skip to content

Environment via files, Docker tags & lots of flags

Compare
Choose a tag to compare
@fabfuel fabfuel released this 15 Aug 07:06
· 89 commits to develop since this release

New Features

Set Docker Labels

You can not set Docker labels to your containers via:
$ ecs deploy my-cluster my-service -d webserver somelabel somevalue

Set CPU and Memory reservation

via: --cpu and --memory

Set essential and privileged flags

via: --privileged <container_name> True|False or --essential <container_name> True|False

Set logging configuration

via e.g. --log <container_name> awslogs awslogs-group <log_group_name>

Set port mapping

via: --port <container_name> <container_port> <host_port>
and overwrite existing via --exclusive-ports

Set volumes and mount points

via: --volume <volume_name> /host/path
Please see README for more details

Set healthchecks

via: --health-check webserver "curl -f http://localhost/alive/" 30 5 3 0

Environment via .s3 files on S3

You can now use environment files stored on S3 to set the container environment variables
via: --s3-env-file container arn:aws:s3:::/bucket_name/object_name

Other changes & improvements

  • migrate CI/CD from travis-ci.org to travis-ci.com
  • run tests in Python 3.7, 3.8, 3.9
  • upgrade Docker environment to Python 3.8