From 81be65aa3aef6bb7d6ece24c227452392cf9843a Mon Sep 17 00:00:00 2001 From: sickprodigy Date: Fri, 21 Nov 2025 19:03:15 -0500 Subject: [PATCH] Add docker-compose configuration for Homarr service --- homarr/docker-compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 homarr/docker-compose.yml diff --git a/homarr/docker-compose.yml b/homarr/docker-compose.yml new file mode 100644 index 0000000..ea1b2db --- /dev/null +++ b/homarr/docker-compose.yml @@ -0,0 +1,28 @@ +version: '3' +#---------------------------------------------------------------------# +# Homarr - A simple, yet powerful dashboard for your server. # +#---------------------------------------------------------------------# +services: + homarr: + container_name: homarr + image: ghcr.io/homarr-labs/homarr:latest + restart: unless-stopped + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /docker-containers/homarr/appdata:/appdata + # - /docker-containers/homarr/configs:/app/data/configs + # - /docker-containers/homarr/data:/data + # - /docker-containers/homarr/icons:/app/public/icons + environment: + - SECRET_ENCRYPTION_KEY=YourEncryptedString32Byte + ports: + - '7575:7575' + stdin_open: true # to attach to containers + tty: true # also used to attach to containers +# network_mode: service:wireguard # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined + networks: # Specify network for container + - homelab +networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area.. + homelab: + + external: true # This option causes compose to join the above network instead of making a _default one (supposedly) \ No newline at end of file