added homebox

This commit is contained in:
Jake Kasper
2025-08-25 08:27:07 -04:00
parent 264392fc77
commit 973d3bdf16
3 changed files with 31 additions and 10 deletions

View File

@@ -8,16 +8,6 @@ URL=https://notes.kaspers.us
# in your docker-compose.yml
PORT=3000
# See [documentation](docs/SERVICES.md) on running a separate collaboration
# server, for normal operation this does not need to be set.
COLLABORATION_URL=
# If using a Cloudfront/Cloudflare distribution or similar it can be set below.
# This will cause paths to javascript, stylesheets, and images to be updated to
# the hostname defined in CDN_URL. In your CDN configuration the origin server
# should be set to the same as URL.
CDN_URL=
# How many processes should be spawned. As a reasonable rule divide your servers
# available memory by 512 for a rough estimate
WEB_CONCURRENCY=1

View File

@@ -8,6 +8,8 @@ services:
depends_on:
- postgres
- redis
environment:
- DATABASE_URL=postgres://user:pass@postgres:5432/outline
labels:
traefik.docker.network: proxy
traefik.enable: 'true'

View File

@@ -0,0 +1,29 @@
services:
homebox:
image: ghcr.io/sysadminsmedia/homebox:latest
# image: ghcr.io/sysadminsmedia/homebox:latest-rootless
container_name: homebox
restart: always
environment:
- HBOX_LOG_LEVEL=info
- HBOX_LOG_FORMAT=text
- HBOX_WEB_MAX_FILE_UPLOAD=10
- HBOX_OPTIONS_ALLOW_ANALYTICS=false
- HBOX_OPTIONS_ALLOW_REGISTRATION=false
labels:
- "traefik.enable=true"
- "traefik.http.routers.homebox.rule=Host(`homebox.kaspers.us`)" # ⚠️ UPDATE to your domain
- "traefik.http.routers.homebox.entrypoints=websecure" # Assumes your HTTP entrypoint is 'web'
- "traefik.http.services.homebox.loadbalancer.server.port=7745"
- "traefik.http.routers.homebox.tls=true"
- "traefik.http.routers.homebox.tls.certresolver=letsencrypt"
- "traefik.docker.network=proxy"
networks:
- proxy
volumes:
- /share/Media/container-station-data/homebox/data:/data/
ports:
- 3100:7745
networks:
proxy:
external: true