Sha256: b87fb9c4d78539f4066fb30ccec5a9476f61cad96ecc92fd91fee54ef4cdf27c
Contents?: true
Size: 1.55 KB
Versions: 3
Compression:
Stored size: 1.55 KB
Contents
# There some built-in helpers that are automatically available in this file. # # Some of helpers get data from the Dockerfile and some are from other places. # Here's a summary of the some helpers: # # full_image_name # dockerfile_port # env_vars(text) # env_file(path) # # More info: http://ufoships.com/docs/helpers/ # task_definition "<%= @app %>-web" do source "main" # will use ufo/templates/main.json.erb variables( family: task_definition_name, name: "web", container_port: helper.dockerfile_port, # uncomment out to set the log group # awslogs_group: "<%= @app %>-web", # awslogs_stream_prefix: "<%= @app %>", # awslogs_region: "us-east-1", # command: ["bin/web"] # IMPORTANT: change or create a bin/web file ) end task_definition "<%= @app %>-worker" do source "main" # will use ufo/templates/main.json.erb variables( family: task_definition_name, name: "worker", # uncomment out to set the log group # awslogs_group: "<%= @app %>-worker", # awslogs_stream_prefix: "<%= @app %>", # awslogs_region: "us-east-1", # command: ["bin/worker"] # IMPORTANT: change or create a bin/worker file ) end task_definition "<%= @app %>-clock" do source "main" # will use ufo/templates/main.json.erb variables( family: task_definition_name, name: "clock", # uncomment out to set the log group # awslogs_group: "<%= @app %>-clock", # awslogs_stream_prefix: "<%= @app %>", # awslogs_region: "us-east-1", # command: ["bin/clock"] # IMPORTANT: change or create a bin/clock file ) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ufo-2.2.2 | lib/starter_project/ufo/task_definitions.rb |
ufo-2.2.1 | lib/starter_project/ufo/task_definitions.rb |
ufo-2.2.0 | lib/starter_project/ufo/task_definitions.rb |