Can you explain what you mean by 'discipline', especially in software engineering context? Is it doing test rigorously, code reviews etc? Or simple commited to deadlines and get things done?
Don't come to work sleep deprived too often, eat properly, exercise. It may also mean taking time for socialization/family/help friends even if you would prefer to code right now.
Effectively, it means same thing as discipline in any other context.