Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
How to deploy a Clojure webapp to a CoreOS / Docker cloud
Shell Clojure
branch: master
Failed to load latest commit information.
src/hello_compojure_world Now with a Compojure project
test/hello_compojure_world/test
.gitignore Now with a Compojure project
Dockerfile Externalised compilation outside the image building to speed up downl…
LICENSE Initial commit
Makefile
README.md Update README.md
lein.sh Now with lein power
project.clj

README.md

Demonstrates how to run a Clojure web app on a CoreOS Docker container.

To run on your own computer:

./lein.sh ring server

To build on CoreOS (Uses the Dockerfile):

git clone https://github.com/pokle/clojure-on-docker.git
cd clojure-on-docker
docker build -t pokle/clojure-on-docker .

To manually start on CoreOS:

docker run -p 80:3000 pokle/clojure-on-docker

Things remaining to be worked out

  • How do I configure a SystemD Unit to start up the app automatically?
  • How do I push a build image to a non-public docker image repo?
Something went wrong with that request. Please try again.