diff options
author | BiRabittoh <birabittoh@tilde.institute> | 2023-07-11 17:10:00 +0200 |
---|---|---|
committer | BiRabittoh <birabittoh@tilde.institute> | 2023-07-11 17:10:00 +0200 |
commit | 69e4666dc46c30cdef0f05173d808e4770b9d59c (patch) | |
tree | 8fe3581151d2cb510231d1b1dceac9a18c9ec37d /libreddit | |
parent | de848da740fbe6af189654acda9c3afae8023b25 (diff) | |
download | my-docker-compose-69e4666dc46c30cdef0f05173d808e4770b9d59c.tar.gz |
add services and submodule
Diffstat (limited to 'libreddit')
-rw-r--r-- | libreddit/docker-compose.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/libreddit/docker-compose.yaml b/libreddit/docker-compose.yaml new file mode 100644 index 0000000..19dde93 --- /dev/null +++ b/libreddit/docker-compose.yaml @@ -0,0 +1,23 @@ +version: "3.8" + +services: + web: + image: libreddit/libreddit:latest + restart: unless-stopped + container_name: "libreddit" + user: nobody + read_only: true + security_opt: + - no-new-privileges:true + cap_drop: + - ALL + networks: + - swag_default + healthcheck: + test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/settings"] + interval: 5m + timeout: 3s + +networks: + swag_default: + external: true |