Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profile app with py-spy #16

Merged
merged 3 commits into from
Sep 14, 2018
Merged

Profile app with py-spy #16

merged 3 commits into from
Sep 14, 2018

Conversation

alysivji
Copy link
Owner

@alysivji alysivji commented Sep 14, 2018

  • Add py-spy container to profile webapp
  • Move Dockerfiles into separate directory

Running py-spy inside Docker

Allowing containers to ps processes in other containers

volumes:
- ./docker/py-spy/flame-graphs:/flame-graphs
stdin_open: true
tty: true
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting stdin_open and tty prevents containers from exiting when loading via Docker-Compose.

@alysivji alysivji merged commit eb4f9dc into master Sep 14, 2018
@alysivji alysivji deleted the profiler branch September 14, 2018 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant