Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Deployment using CF CLI #419

Open
saurabh1969 opened this issue Nov 27, 2021 · 1 comment
Open

Deployment using CF CLI #419

saurabh1969 opened this issue Nov 27, 2021 · 1 comment

Comments

@saurabh1969
Copy link

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.

@textbook
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants