Compare commits

...

5 Commits

Author SHA1 Message Date
Jake Kasper
1449ce9bf0 trilium 2025-08-25 12:12:57 -04:00
Jake Kasper
8d0fd4cc04 n8n volumes 2025-08-25 08:52:08 -04:00
Jake Kasper
2e9343a8d5 update volumes 2025-08-25 08:51:26 -04:00
Jake Kasper
95c18e7012 added n8n 2025-08-25 08:46:43 -04:00
Jake Kasper
973d3bdf16 added homebox 2025-08-25 08:27:07 -04:00
5 changed files with 105 additions and 10 deletions

View File

@@ -0,0 +1,41 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n
restart: always
ports:
- "5678:5678"
networks:
- proxy
labels:
- traefik.enable=true
- traefik.http.routers.n8n.rule=Host(`n8n.kaspers.us`)
- traefik.http.routers.n8n.tls=true
- traefik.http.routers.n8n.entrypoints=websecure
- traefik.http.routers.n8n.tls.certresolver=letsencrypt
- traefik.http.middlewares.n8n.headers.SSLRedirect=true
- traefik.http.middlewares.n8n.headers.STSSeconds=315360000
- traefik.http.middlewares.n8n.headers.browserXSSFilter=true
- traefik.http.middlewares.n8n.headers.contentTypeNosniff=true
- traefik.http.middlewares.n8n.headers.forceSTSHeader=true
- traefik.http.middlewares.n8n.headers.STSIncludeSubdomains=true
- traefik.http.middlewares.n8n.headers.STSPreload=true
- traefik.http.routers.n8n.middlewares=n8n@docker
environment:
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_HOST=n8n.kaspers.us
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_RUNNERS_ENABLED=true
- NODE_ENV=production
- WEBHOOK_URL=https://n8n.kaspers.us/
- GENERIC_TIMEZONE=America/New_York
- TZ=America/New_York
volumes:
- n8n_data:/home/node/.n8n
- /docker/n8n/local-files:/files
networks:
proxy:
external: true
volumes:
n8n_data:

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,33 @@
# Running `docker-compose up` will create/use the "trilium-data" directory in the user home
# Run `TRILIUM_DATA_DIR=/path/of/your/choice docker-compose up` to set a different directory
# To run in the background, use `docker-compose up -d`
services:
trilium:
# Optionally, replace `latest` with a version tag like `v0.90.3`
# Using `latest` may cause unintended updates to the container
image: triliumnext/trilium:latest
# Restart the container unless it was stopped by the user
restart: unless-stopped
environment:
- TRILIUM_DATA_DIR=/home/node/trilium-data
ports:
# By default, Trilium will be available at http://localhost:8080
# It will also be accessible at http://<host-ip>:8080
# You might want to limit this with something like Docker Networks, reverse proxies, or firewall rules,
# however be aware that using UFW is known to not work with default Docker installations, see:
# https://docs.docker.com/engine/network/packet-filtering-firewalls/#docker-and-ufw
- '8099:8080'
labels:
- "traefik.enable=true"
- "traefik.http.routers.trilium.rule=Host(`trilium.kaspers.us`)" # ⚠️ UPDATE to your domain
- "traefik.http.routers.trilium.entrypoints=websecure" # Assumes your HTTP entrypoint is 'web'
- "traefik.http.services.trilium.loadbalancer.server.port=8080"
- "traefik.docker.network=proxy" # ⚠️ UPDATE this to your Traefik network name if different
- "traefik.http.routers.trilium.tls=true"
- "traefik.http.routers.trilium.tls.certresolver=letsencrypt"
volumes:
# Unless TRILIUM_DATA_DIR is set, the data will be stored in the "trilium-data" directory in the home directory.
# This can also be changed with by replacing the line below with `- /path/of/your/choice:/home/node/trilium-data
- /share/Media/container-station-data/trilium:/home/node/trilium-data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro

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