This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-13
Channels
- # aws-lambda (21)
- # beginners (8)
- # boot (67)
- # braveandtrue (2)
- # cider (12)
- # cljs-dev (38)
- # cljsjs (87)
- # cljsrn (11)
- # clojure (307)
- # clojure-austin (29)
- # clojure-finland (1)
- # clojure-italy (9)
- # clojure-russia (19)
- # clojure-spec (71)
- # clojure-uk (33)
- # clojurescript (109)
- # clojutre (1)
- # core-async (2)
- # cursive (24)
- # datomic (11)
- # devops (5)
- # ethereum (5)
- # figwheel (2)
- # hoplon (25)
- # ipfs (1)
- # jobs (1)
- # luminus (17)
- # off-topic (2)
- # om (38)
- # om-next (3)
- # onyx (166)
- # other-lisps (1)
- # proton (5)
- # re-frame (15)
- # reagent (45)
- # ring (2)
- # spacemacs (6)
- # specter (12)
- # untangled (58)
- # yada (23)
hey guys. Can anyone suggest article about deploying clojure+postgre using docker containers and aws ec2/ec2cs/rds?
@andrewtropin can’t recommend anything specific, but if you’re using RDS you don’t need to deploy postgres, just configure your environment to talk to whatever postgres instance you setup. I both have Clojure code running in AWS in docker container and just as a jar. Both setups are using ElasticBeanstalk.
@andrewtropin Amazon has documentation around those setups (though, not specific to clojure).
@jakemcc Thanks for information. Can you share you Dockerfile? How you built docker image? from ci?
FROM java:8
RUN apt-get update && apt-get -y upgrade
RUN mkdir -p /ic
WORKDIR /ic
COPY target/ic-standalone.jar /ic/ic-standalone.jar
COPY config.edn /ic/config.edn
CMD ["java", "-Dlog4j.configuration=log4j.properties", "-server", "-Xms4g", "-Xmx4g", "-jar", "ic-standalone.jar"]
@andrewtropin Dockerfile that becomes out production artifact is above. CI builds images and pushes to an AWS container registry.