add in homelabel docker compose

This commit is contained in:
2026-05-29 09:23:58 +00:00
Unverified
parent 4d234c6fec
commit 1464d4bc0d
2 changed files with 41 additions and 0 deletions

5
docker_compose/homelabel/.gitignore vendored Normal file
View File

@@ -0,0 +1,5 @@
# ------------------------------------------------------------------------------
# SECRETS AND CREDENTIALS (NEVER COMMIT THESE)
# ------------------------------------------------------------------------------
data/

View File

@@ -0,0 +1,36 @@
# homelable - https://github.com/Pouzor/homelable
---
services:
backend:
image: ghcr.io/pouzor/homelable-backend:latest
container_name: homelable-backend
restart: unless-stopped
environment:
- AUTH_USERNAME=${AUTH_USERNAME}
- AUTH_PASSWORD_HASH=${AUTH_PASSWORD_HASH} # Use a bcrypt hash for security
- SECRET_KEY=${SECRET_KEY}
volumes:
- ./data:/app/data
ports:
- "${HOMELABEL_BACK_PORT}:8000"
frontend:
#image: ghcr.io/pouzor/homelable-frontend-standalone:latest # standalone version
image: ghcr.io/pouzor/homelable-frontend:latest
container_name: homelable-frontend
restart: unless-stopped
ports:
- "${HOMELABEL_FRONT_PORT}:80"
depends_on:
- backend
labels:
# Nginx Proxy Manager Automation
- "npm.proxy.domains=homelable"
- "npm.proxy.host=${DOCKER_HOST_IP}"
- "npm.proxy.port=${HOMELABEL_FRONT_PORT}"
- "npm.proxy.scheme=http"
#- "npm.proxy.websockets=true"
#- "npm.proxy.ssl_verify=false"
#- "npm.proxy.ssl.force=true"
#- "npm.proxy.ssl.certificate.id=1"
- "pihole.custom-record=[[\"homelable\", \"${DOCKER_HOST_IP}\"]]"