vmware-archive / postfacto

Self-hosted retro tool aimed at helping remote teams
GNU Affero General Public License v3.0
8 stars 22 forks source link

Deployment using CF CLI #419

Open saurabh1969 opened 2 years ago

saurabh1969 commented 2 years ago

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 commented 2 years ago

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.