How do I configure an environment to be applied to a specific project
Environments are connected to Projects using Lifecycles. The Default Lifecycle includes all of your Environments so you’d need to create a new Lifecycle for Project 2 which excludes the additional Environments that Project 1 requires. You can find out more below:
If I have 2 deployment targets under the same environment how do I configure octopus to deploy to the correct target based on the project?
You can apply Target Roles to a Deployment Target - for example, describing a particular server as a database server. You can scope deployment steps to a particular type of Deployment Target. You can find out more below:
I hope this is helpful. Please reach out to us if you have any questions.