From 182f645fb3c34bf6be6d87d4432ed2252c596f05 Mon Sep 17 00:00:00 2001 From: Vitali Aleksandrov Date: Thu, 19 Sep 2024 15:03:57 +0300 Subject: [PATCH 1/3] added docker-compose.yml file --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..5290fdfb --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +services: + it-tools: + container_name: it-tools + image: corentinth/it-tools:latest + restart: unless-stopped + ports: + - 8080:80 + From 4d61193559c54f3b77a6a57ad675a32bc384a589 Mon Sep 17 00:00:00 2001 From: Vitali Aleksandrov Date: Thu, 19 Sep 2024 15:10:31 +0300 Subject: [PATCH 2/3] added instructions for docker-compose --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b9726864..836c5148 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You have an idea of a tool? Submit a [feature request](https://github.com/Corent ## Self host Self host solutions for your homelab - +#### Using Docker **From docker hub:** ```sh @@ -28,6 +28,17 @@ docker run -d --name it-tools --restart unless-stopped -p 8080:80 corentinth/it- docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corentinth/it-tools:latest ``` +#### Using Docker Compose + +```sh +services: + it-tools: + container_name: it-tools + image: corentinth/it-tools:latest + restart: unless-stopped + ports: + - 8080:80 +``` **Other solutions:** - [Cloudron](https://www.cloudron.io/store/tech.ittools.cloudron.html) From af63ce48c75ba72f5b3ccb076ed196fca6bd6d21 Mon Sep 17 00:00:00 2001 From: Vitali Aleksandrov Date: Thu, 19 Sep 2024 15:14:01 +0300 Subject: [PATCH 3/3] changed sh to yml in docker-compose block --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 836c5148..7cb3574a 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ docker run -d --name it-tools --restart unless-stopped -p 8080:80 ghcr.io/corent #### Using Docker Compose -```sh +```yml services: it-tools: container_name: it-tools