Clojure and Postgresql example #87

Open
opened 2025-11-06 14:18:20 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @practicalli-johnny on GitHub (May 12, 2023).

Request to add an example service for the Clojure programming language, including a Postgresql database with health-check and conditional start configuration.

Clojure is a language on the Java Virtual Machine and there is an Official Docker Image for Clojure

The most common use of Docker is for Clojure services (back-end application, API, etc) with a relational database

Example details

The example would include a multi-stage Dockerfile to build and run a Clojure service

The example would also include a compose.yaml configuration to build the Clojure service via the Dockerfile configuration, which is dependent on the Postgresql database being healthy.

The compose.yaml would include a Postgresql configuration with healthcheck, to be used by the Clojure service as a conditional start.

References

Originally created by @practicalli-johnny on GitHub (May 12, 2023). Request to add an example service for the Clojure programming language, including a Postgresql database with health-check and conditional start configuration. [Clojure](https://clojure.org/) is a language on the Java Virtual Machine and there is an [Official Docker Image for Clojure](https://hub.docker.com/_/clojure/) The most common use of Docker is for Clojure services (back-end application, API, etc) with a relational database ## Example details The example would include a [multi-stage Dockerfile to build and run a Clojure service](https://practical.li/blog/posts/build-and-run-clojure-with-multistage-dockerfile/) The example would also include a `compose.yaml` configuration to build the Clojure service via the `Dockerfile` configuration, which is dependent on the Postgresql database being healthy. The `compose.yaml` would include a Postgresql configuration with healthcheck, to be used by the Clojure service as a conditional start. ## References - [Clojure Official Docker Image](https://hub.docker.com/_/clojure/)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#87