-
Notifications
You must be signed in to change notification settings - Fork 362
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
Support custom Procfile #27
Comments
Opened a PR with basic functionality for this: #28 |
Thank you for your contribution! I'll review it |
Great. Thanks. |
Are you still working on this, or is there a workaround to support different environments? |
Hi @JA-AmbosImmo I don't have enough time to test it. What do you mean |
Since the procfile configuration is overwritten during build, I cannot add the asp environment variable. Is there a workaround to do this? I cannot use appsettings.json in different environments because in heroku the environment variable can only be set to production as default |
Is this the same as passing it with the Procfile? |
@JA-AmbosImmo yes, you find more info here https://devcenter.heroku.com/articles/config-vars |
Thank you very much! |
Not sure if I should put this here or make a new issue for it. |
Alright, I got that working now. I never used custom profiles before so I was not sure how to do it, but this was really easy to get working. The only slight issue I may have is that is appears to take longer to verify the deployment, but I think this is on Heroku's end? Here's another question though, how can I get this to work without needing the Startup class? |
Hi @xt449,
Unfortunately I didn't understand what do you mean?
You can set |
Sorry. I meant that it takes git longer to finish. |
Understood. It's Heroku workflow. For example, you can see log output for |
Alright just wanted to follow up that it seems to be working. I will give more information on this tomorrow. This is poorly written since I just typed this up before going to sleep. |
@xt449 Right. I forgot about buildpack detect. Could you please create new issue and describe why you don't need Startup.cs file? |
Implemented at #53 |
No description provided.
The text was updated successfully, but these errors were encountered: