Discipline is the practice of addressing people to follow rules or norms of conduct and correcting them when they do not.
If you apply to an action or circumstance as an order, you mean that to be prosperous in it, you need to act in a stringently regulated manner and follow appropriate rules or standards.