Skip to content

Commit

Permalink
Merge pull request #10 from Guslington/develop
Browse files Browse the repository at this point in the history
entrypoint to task def
  • Loading branch information
Guslington authored Aug 22, 2018
2 parents 5f5bc2d + 8c34b45 commit d6fb1be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ecs-service.cfndsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
task_def.merge!({PortMappings: port_mapppings})
end

task_def.merge!({EntryPoint: task['entrypoint'] }) if task.key?('entrypoint')
task_def.merge!({Command: task['command'] }) if task.key?('command')
task_def.merge!({HealthCheck: task['healthcheck'] }) if task.key?('healthcheck')
task_def.merge!({WorkingDirectory: task['working_dir'] }) if task.key?('working_dir')
Expand Down
2 changes: 2 additions & 0 deletions ecs-service.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ log_retention: 7
# - 8080
# env_vars:
# KEY: value
# entrypoint: ['/docker-entrypoint.sh']
# command: ['npm','start']
# mounts:
# - data-volume:/data:ro

Expand Down

0 comments on commit d6fb1be

Please sign in to comment.