Deployment using CF CLI
saurabh1969 opened this issue · comments
I went through deployment process defined here : https://github.com/pivotal/postfacto/blob/master/deployment/README.md
But is there any way i can push my app to PCF instance through cf cli without postgres and redis userservice.
My organization do not allow me to attach postgres and redis userservice to my pcf app from marketplace.I have MS SQL DB and redis setup outside pcf.I have MS SQL and REDIS connection url with myself.
That should be relatively straightforward, rather than using the services in the manifest:
https://github.com/pivotal/postfacto/blob/db61713a38d6a8a945840e0965c88cbaee02510b/deployment/tas/config/manifest.yml#L9-L11
you provide the connection strings as the relevant environment variables (DATABASE_URL
and REDIS_URL
) instead. You can edit ./cf/config/manifest.yml
accordingly and still use the provided deploy scripts.