practicalli / practicalli/clojure-web-services

Deploy with Docker

Open
#45 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

deployment docker
Dominant language
Markdown
Stars
16
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Section on Containerization - Docker for Clojure apps

  • images available for Clojure (CLI & Leiningen)
  • image optimisation - cache and build images
  • build application for the image
  • security
    • avoid running as root (images may have non-root user already)
    • check for security vulnerabilities (snyk)

8 docker practices - video
https://youtu.be/8vXoMqWgbQQ

https://deangerber.com/blog/2018/10/07/host-simple-clojure-http-endpoint-using-docker/

Libraries
https://github.com/into-docker/clj-docker-client
An idiomatic, data-driven, REPL friendly Clojure Docker client inspired from Cognitect's AWS client.

https://github.com/cognitect-labs/aws-api
aws-api is a Clojure library which provides programmatic access to AWS services from your Clojure program.

Related Content

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the proposed Containerization section and the linked Docker resources, including the Clojure app template Dockerfile. Cover Clojure images, image caching and optimization, application builds, and the listed security practices. Done means the Docker guidance and related links are added as a coherent documentation section.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, docker
Domain
devops, documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.