From aabe27efd10e938448791b1e6747c3189bba2128 Mon Sep 17 00:00:00 2001 From: Daniel Alves Date: Thu, 3 Oct 2024 12:58:35 -0300 Subject: [PATCH 1/2] feat: add homarr service tamplate and logo --- public/svgs/homarr.svg | 11 +++++++++++ templates/compose/homarr.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 public/svgs/homarr.svg create mode 100644 templates/compose/homarr.yaml diff --git a/public/svgs/homarr.svg b/public/svgs/homarr.svg new file mode 100644 index 000000000..4d4289604 --- /dev/null +++ b/public/svgs/homarr.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/templates/compose/homarr.yaml b/templates/compose/homarr.yaml new file mode 100644 index 000000000..7aaf669a1 --- /dev/null +++ b/templates/compose/homarr.yaml @@ -0,0 +1,25 @@ +# documentation: https://homarr.dev +# slogan: Homarr is a self-hosted homepage for your services. +# tags: homarr,self-hosted,homepage +# logo: svgs/homarr.svg +# port: 7575 + +version: "3.8" + +services: + homarr: + image: ghcr.io/ajnart/homarr:latest + container_name: homarr + restart: unless-stopped + environment: + - SERVICE_FQDN_HOMEBOX_7575 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - ./homarr/configs:/app/data/configs + - ./homarr/icons:/app/public/icons + - ./homarr/data:/data + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:7575"] + interval: 5s + timeout: 20s + retries: 10 From c4be720b208178f65c6029825102eee1478bf752 Mon Sep 17 00:00:00 2001 From: Daniel Alves Date: Thu, 3 Oct 2024 15:00:52 -0300 Subject: [PATCH 2/2] fix: update FQDN --- templates/compose/homarr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/compose/homarr.yaml b/templates/compose/homarr.yaml index 7aaf669a1..88087a4ba 100644 --- a/templates/compose/homarr.yaml +++ b/templates/compose/homarr.yaml @@ -12,7 +12,7 @@ services: container_name: homarr restart: unless-stopped environment: - - SERVICE_FQDN_HOMEBOX_7575 + - SERVICE_FQDN_HOMARR_7575 volumes: - /var/run/docker.sock:/var/run/docker.sock - ./homarr/configs:/app/data/configs