This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-30
Channels
- # babashka (1)
- # beginners (86)
- # boot (5)
- # calva (21)
- # cider (26)
- # clj-kondo (10)
- # cljs-dev (5)
- # cljsrn (3)
- # clojure (181)
- # clojure-europe (22)
- # clojure-germany (11)
- # clojure-italy (3)
- # clojure-nl (7)
- # clojure-spec (6)
- # clojure-sweden (6)
- # clojure-uk (65)
- # clojuredesign-podcast (1)
- # clojurescript (71)
- # core-logic (2)
- # cryogen (15)
- # data-science (9)
- # datomic (7)
- # duct (4)
- # emacs (4)
- # events (1)
- # exercism (1)
- # fulcro (136)
- # funcool (1)
- # joker (6)
- # kaocha (3)
- # lambdaisland (28)
- # lumo (3)
- # malli (5)
- # mount (1)
- # off-topic (13)
- # re-frame (14)
- # ring (10)
- # shadow-cljs (20)
- # sql (5)
- # tools-deps (5)
- # tree-sitter (1)
- # uncomplicate (9)
Anyone have any experience reports deploying clojure apps to dokku? On digital ocean the one-click-install version seems pretty old, is it worth it to go for a newer version manually?
Honestly I wish heroku just had more granular pricing, where I could pay $15/month or something and get at least a gig of ram (it goes from 512mb for $7 to $50 for a gig). It seems like most my clojure stuff is happier with at least a gig.
I'd rather avoid running my own server if at all possible, but dokku+digital ocean seems too good to be true from a pricing standpoint. I'm curious if it's actually as hands-off and easy to manage as it seems
You can use #spire for provisioning and configuration of remote machine.
Just make a jar file and sftp it to the remote server machine, or clone the GitHub repo on remote server machine and build jar there for deployment.
spire looks cool, but I'm really looking for a maximally hands-off way to deploy multiple clojure projects to the same place. I would still have to manage some server software to accomplish this with spire right?
You can write scripts to automate software installation and configuration management of server with spire, you can also automate fetching, building, deployment of application to server with it.
As for deploying multiple projects, look at Nginx, you can have any number of domains pointing at it's respective service running on machine with Nginx. All the setup for this is done in configuration file of Nginx.
It's much simpler and clearer to do things manually with scripts than to introduce more dependencies like Dokku IMO. And with JVM you have JAR file, which already is a container.
Spire is installed on client machine, like your pc or laptop. And you ssh into server machine with it. And Spire is just one binary. So, there's no additional server software.
@U064UGEUQ dunno if you saw this, but here is a simple guide to running clojure on dokku: https://yogthos.net/posts/2019-01-19-LuminusOnDokku.html it was pretty easy to get the heroku clojure demo app going https://github.com/heroku/clojure-getting-started