Clojure and Postgresql example
practicalli-johnny opened this issue · comments
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.