fixes for nrepl.
This commit is contained in:
@@ -26,6 +26,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
config: /usr/local/config/prod.edn
|
config: /usr/local/config/prod.edn
|
||||||
VIRTUAL_HOST: app.integreatconsult.com
|
VIRTUAL_HOST: app.integreatconsult.com
|
||||||
|
VIRTUAL_PORT: 3000
|
||||||
LETSENCRYPT_HOST: staging.app.integreatconsult.com,app.integreatconsult.com
|
LETSENCRYPT_HOST: staging.app.integreatconsult.com,app.integreatconsult.com
|
||||||
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
|
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
|
||||||
database:
|
database:
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
config: /usr/local/config/staging.edn
|
config: /usr/local/config/staging.edn
|
||||||
VIRTUAL_HOST: staging.app.integreatconsult.com
|
VIRTUAL_HOST: staging.app.integreatconsult.com
|
||||||
|
VIRTUAL_PORT: 3000
|
||||||
LETSENCRYPT_HOST: staging.app.integreatconsult.com
|
LETSENCRYPT_HOST: staging.app.integreatconsult.com
|
||||||
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
|
LETSENCRYPT_EMAIL: le@brycecovertoperations.com
|
||||||
database:
|
database:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
(ns-resolve 'cider.nrepl 'cider-nrepl-handler))
|
(ns-resolve 'cider.nrepl 'cider-nrepl-handler))
|
||||||
|
|
||||||
(defn -main [& args]
|
(defn -main [& args]
|
||||||
(start-server :port 9000 :bind "localhost" :handler (cider-nrepl-handler))
|
(start-server :port 9000 :bind "0.0.0.0" :handler (cider-nrepl-handler))
|
||||||
(let [port (Integer/parseInt (or (env :port) "3000"))]
|
(let [port (Integer/parseInt (or (env :port) "3000"))]
|
||||||
#_(future (always-process-sqs))
|
#_(future (always-process-sqs))
|
||||||
(run-jetty app {:port port :join? false})))
|
(run-jetty app {:port port :join? false})))
|
||||||
|
|||||||
Reference in New Issue
Block a user