add automation and it-tools stack, update newt, add icons and app-api to nextcloud, try new proxy solution with newt (docker socket access)

This commit is contained in:
2025-12-05 21:58:44 +01:00
parent bd5f6604f4
commit eaadef5e4e
13 changed files with 108 additions and 15 deletions

View File

@@ -0,0 +1,7 @@
services:
n8n:
labels:
net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: 'https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://homeassistant.io&size=256'
net.unraid.docker.webui: 'https://automation.homecube.org'
net.unraid.docker.shell: ''

View File

@@ -0,0 +1,22 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n
ports:
- "5678:5678"
environment:
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
- N8N_PORT=5678
- N8N_PROTOCOL=http
- N8N_RUNNERS_ENABLED=true
- NODE_ENV=production
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
- TZ=${GENERIC_TIMEZONE}
volumes:
- /mnt/user/appdata/n8n/n8n_data:/home/node/.n8n
- /mnt/user/appdata/n8n/local-files:/files
labels:
folder.view2: "Services"
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/n8n.png"
net.unraid.docker.webui: "https://automation.homecube.org"

1
automation/name Normal file
View File

@@ -0,0 +1 @@
automation

View File

@@ -2,18 +2,24 @@ services:
db: db:
labels: labels:
net.unraid.docker.managed: 'composeman' net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: '' net.unraid.docker.icon: 'https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/mariadb.png'
net.unraid.docker.webui: '' net.unraid.docker.webui: ''
net.unraid.docker.shell: '' net.unraid.docker.shell: ''
app: app:
labels: labels:
net.unraid.docker.managed: 'composeman' net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: '' net.unraid.docker.icon: 'https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/nextcloud.png'
net.unraid.docker.webui: '' net.unraid.docker.webui: 'https://cloud.homecube.org'
net.unraid.docker.shell: '' net.unraid.docker.shell: ''
redis: redis:
labels: labels:
net.unraid.docker.managed: 'composeman' net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: '' net.unraid.docker.icon: 'https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/redis.png'
net.unraid.docker.webui: ''
net.unraid.docker.shell: ''
appapi-dsp:
labels:
net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: 'https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/nextcloud.png'
net.unraid.docker.webui: '' net.unraid.docker.webui: ''
net.unraid.docker.shell: '' net.unraid.docker.shell: ''

View File

@@ -11,6 +11,7 @@ services:
- MYSQL_DATABASE=nextcloud - MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud - MYSQL_USER=nextcloud
labels: labels:
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/mariadb.png"
folder.view2: "Databases" folder.view2: "Databases"
redis: redis:
@@ -20,19 +21,35 @@ services:
- /mnt/user/appdata/nextcloud/cache:/data - /mnt/user/appdata/nextcloud/cache:/data
command: redis-server --requirepass ${REDIS_HOST_PASSWORD} command: redis-server --requirepass ${REDIS_HOST_PASSWORD}
labels: labels:
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/redis.png"
folder.view2: "Databases" folder.view2: "Databases"
appapi-dsp:
image: ghcr.io/nextcloud/nextcloud-appapi-dsp:release
networks:
- nextcloud-exapps
environment:
- NC_HAPROXY_PASSWORD=${APPAPI_DSP_PASSWORD}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
privileged: true
labels:
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/nextcloud.png"
folder.view2: "Services"
app: app:
image: nextcloud image: nextcloud
container_name: nextcloud container_name: nextcloud
ports: ports:
- 8090:80 - 8090:80
links:
- db
- redis
depends_on: depends_on:
- db - db
- redis - redis
- appapi-dsp
networks:
- default
- nextcloud-exapps
- pangolin
volumes: volumes:
- /mnt/user/appdata/nextcloud/app:/var/www/html - /mnt/user/appdata/nextcloud/app:/var/www/html
- /mnt/user/nextcloud-data:/var/www/html/data - /mnt/user/nextcloud-data:/var/www/html/data
@@ -50,6 +67,18 @@ services:
- REDIS_HOST_PASSWORD=${REDIS_HOST_PASSWORD} - REDIS_HOST_PASSWORD=${REDIS_HOST_PASSWORD}
- APACHE_DISABLE_REWRITE_IP=1 - APACHE_DISABLE_REWRITE_IP=1
- TRUSTED_PROXIES=172.19.0.2 - APACHE_BODY_LIMIT=0
- TRUSTED_PROXIES=172.28.0.2
labels: labels:
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/nextcloud.png"
net.unraid.docker.webui: "https://cloud.homecube.org"
folder.view2: "Services" folder.view2: "Services"
networks:
nextcloud-exapps:
name: nextcloud-exapps
driver: bridge
pangolin:
name: pangolin_net
external: true

1
it-tools/autostart Normal file
View File

@@ -0,0 +1 @@
true

View File

@@ -0,0 +1,7 @@
services:
it-tools:
labels:
net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: ''
net.unraid.docker.webui: ''
net.unraid.docker.shell: ''

View File

@@ -0,0 +1,12 @@
services:
it-tools:
image: 'corentinth/it-tools:latest'
networks:
- pangolin
labels:
folder.view2: "Services"
networks:
pangolin:
name: pangolin_net
external: true

1
it-tools/name Normal file
View File

@@ -0,0 +1 @@
it-tools

View File

@@ -1,8 +1,6 @@
services: services:
ollama: ollama:
image: ollama/ollama:latest image: ollama/ollama:latest
container_name: ollama
pull_policy: always
tty: true tty: true
ports: ports:
- "11434:11434" # Ollama API - "11434:11434" # Ollama API
@@ -18,7 +16,6 @@ services:
openwebui: openwebui:
image: ghcr.io/open-webui/open-webui:main-slim image: ghcr.io/open-webui/open-webui:main-slim
container_name: openwebui
depends_on: depends_on:
- ollama - ollama
ports: ports:

View File

@@ -1,9 +1,8 @@
services: services:
vaultwarden: vaultwarden:
image: vaultwarden/server:latest image: vaultwarden/server:latest
container_name: vaultwarden
environment: environment:
DOMAIN: "https://vw.homecube.org" DOMAIN: ${DOMAIN}
ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN} ADMIN_TOKEN: ${VAULTWARDEN_ADMIN_TOKEN}
volumes: volumes:
- /mnt/user/appdata/vaultwarden/data:/data/ - /mnt/user/appdata/vaultwarden/data:/data/

View File

@@ -2,6 +2,6 @@ services:
newt: newt:
labels: labels:
net.unraid.docker.managed: 'composeman' net.unraid.docker.managed: 'composeman'
net.unraid.docker.icon: '' net.unraid.docker.icon: 'https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/pangolin.png'
net.unraid.docker.webui: 'https://proxy.homecube.org' net.unraid.docker.webui: 'https://proxy.homecube.org'
net.unraid.docker.shell: '' net.unraid.docker.shell: ''

View File

@@ -1,13 +1,24 @@
services: services:
newt: newt:
image: fosrl/newt:1.4.0 image: fosrl/newt:1.6.0
networks:
- pangolin
container_name: newt container_name: newt
restart: always restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment: environment:
- PANGOLIN_ENDPOINT=https://proxy.homecube.org - PANGOLIN_ENDPOINT=https://proxy.homecube.org
- NEWT_ID=t3brmb1mgj1tlgk - NEWT_ID=t3brmb1mgj1tlgk
- NEWT_SECRET=kyxmtlcd8l5s5ifc2u3j7c3uvydlr900hns1sj5pejkjxytg - NEWT_SECRET=kyxmtlcd8l5s5ifc2u3j7c3uvydlr900hns1sj5pejkjxytg
- DOCKER_SOCKET=/var/run/docker.sock
- DOCKER_ENFORCE_NETWORK_VALIDATION=true
labels: labels:
net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/pangolin.png" net.unraid.docker.icon: "https://raw.githubusercontent.com/homarr-labs/dashboard-icons/refs/heads/main/png/pangolin.png"
net.unraid.docker.webui: "https://proxy.homecube.org" net.unraid.docker.webui: "https://proxy.homecube.org"
folder.view2: "Networking" folder.view2: "Networking"
networks:
pangolin:
name: pangolin_net
driver: bridge