Reply
Member
Posts: 161
Registered: ‎03-19-2018
Kudos: 25
Solutions: 4

Deploying UCRM to Heroku

I'm still learning about docker but don't want to spend to much time on it as it isn't relevant to most of my development.  The primary use I have for docker currently is running a local UCRM instance. I'd like to make a demo site to install my plugins on and I use Heroku for hosting webapps. It does have support for Docker but I don't know enough yet to get what I need of UCRM deployed.

 

So simply put, can someone explain the steps and resources needed to deploy UCRM to heroku? Preferrably via linux terminal.

 

Currently I'm looking into docker compose in relation to heroku https://devcenter.heroku.com/articles/local-development-with-docker-compose because it seems the UCRM repo has this available. https://github.com/Ubiquiti-App/UCRM

 

Am I on the right track?

HTML, SCSS, Javascript(Ember.js), Ruby(Ruby on Rails), PHP
Veteran Member
Posts: 4,382
Registered: ‎05-19-2009
Kudos: 653
Solutions: 19
Member
Posts: 161
Registered: ‎03-19-2018
Kudos: 25
Solutions: 4

Re: Deploying UCRM to Heroku

[ Edited ]

Yes, I'm running Heroku-18. I can deploy a basic Container. But since UCRM was installed via a script I don't know what peices I need to put together to make it work on heroku... The thought did just occur to me though, could I theoretically build a ubuntu container and then run the UCRM install within the container and make an image from that?

HTML, SCSS, Javascript(Ember.js), Ruby(Ruby on Rails), PHP
Highlighted
Ubiquiti Employee
Posts: 3,511
Registered: ‎12-10-2015
Kudos: 1248
Solutions: 271

Re: Deploying UCRM to Heroku

Hi, the installation script does a lot for you. It's recommended to use it, especially if you are not an advanced user. For example, it installs docker, create 'ucrm' user, starts cron job handling future updates etc.

Anyway, if you just need the docker-compose yml and env file, you will find it here https://github.com/Ubiquiti-App/UCRM
Reply