Skip to content

Commit

Permalink
Fix disable logs capabilities (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
jairovadillo authored Apr 20, 2020
1 parent 03643d9 commit c1a5529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ DockerHub automatically tests and builds the image tags: [DockerHub Repo](https:
ports:
- 8000:8000
- 2222:2222
disable-logs: true
service2:
command: python run_worker.py
memory: 1024
Expand Down
3 changes: 2 additions & 1 deletion ecs_deployer/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def register_task_definitions(procfile_path, vault_config, execution_role, envir
command=values['command'],
cpu=values['cpu'],
memory=values['memory'],
ports=values.get('ports'))
ports=values.get('ports'),
disable_logs=values.get('disable-logs', False))

service_task_definition['containerDefinitions'].append(container_definition)
# end for
Expand Down

0 comments on commit c1a5529

Please sign in to comment.