From db85a3811f82fc09454bc6b3887d323afbeb6cfe Mon Sep 17 00:00:00 2001 From: Kishore S <74819242+Pepperjack-svg@users.noreply.github.com> Date: Sat, 7 Mar 2026 10:41:04 +0530 Subject: [PATCH 1/3] feat: add Dockge template --- blueprints/dockge/docker-compose.yml | 16 ++++++++++++++++ blueprints/dockge/dockge.svg | 14 ++++++++++++++ blueprints/dockge/template.toml | 9 +++++++++ meta.json | 17 +++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 blueprints/dockge/docker-compose.yml create mode 100644 blueprints/dockge/dockge.svg create mode 100644 blueprints/dockge/template.toml diff --git a/blueprints/dockge/docker-compose.yml b/blueprints/dockge/docker-compose.yml new file mode 100644 index 000000000..55f19f982 --- /dev/null +++ b/blueprints/dockge/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.8" +services: + dockge: + image: louislam/dockge:1 + restart: unless-stopped + ports: + - 5001 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - dockge-data:/app/data + - /opt/stacks:/opt/stacks + environment: + - DOCKGE_STACKS_DIR=/opt/stacks + +volumes: + dockge-data: \ No newline at end of file diff --git a/blueprints/dockge/dockge.svg b/blueprints/dockge/dockge.svg new file mode 100644 index 000000000..b8e2df26b --- /dev/null +++ b/blueprints/dockge/dockge.svg @@ -0,0 +1,14 @@ + + + +Created with Fabric.js 5.3.0 + + + + + + + + + + \ No newline at end of file diff --git a/blueprints/dockge/template.toml b/blueprints/dockge/template.toml new file mode 100644 index 000000000..7b72358b4 --- /dev/null +++ b/blueprints/dockge/template.toml @@ -0,0 +1,9 @@ +[variables] +main_domain = "${domain}" + +[config] + +[[config.domains]] +serviceName = "dockge" +port = 5001 +host = "${main_domain}" \ No newline at end of file diff --git a/meta.json b/meta.json index 3ae0cb5ef..62e1fad24 100644 --- a/meta.json +++ b/meta.json @@ -1820,6 +1820,23 @@ "office" ] }, + { + "id": "dockge", + "name": "Dockge", + "version": "1", + "description": "A self-hosted, reactive Docker compose.yaml stack-oriented manager.", + "logo": "dockge.svg", + "links": { + "github": "https://github.com/louislam/dockge", + "website": "https://dockge.kuma.pet/", + "docs": "https://github.com/louislam/dockge/wiki" + }, + "tags": [ + "docker", + "self-hosted", + "management" + ] +}, { "id": "docmost", "name": "Docmost", From b206301fddf9d6d17063e62715d15905dd87e7a1 Mon Sep 17 00:00:00 2001 From: Kishore S <74819242+Pepperjack-svg@users.noreply.github.com> Date: Sun, 12 Jul 2026 23:31:40 +0530 Subject: [PATCH 2/3] Update Immich template to v3.0.2 (valkey, vectorchord, /data mount) - Bump immich-server/immich-machine-learning images to v3.0.2 - Switch redis to valkey and postgres to vectorchord-based image - Move upload volume mount to /data per v3 layout - Drop obsolete pgvecto.rs preload command and unused env vars - Ignore local .wrangler/ credentials cache --- .gitignore | 3 +- blueprints/immich/docker-compose.yml | 67 ++++++---------------------- blueprints/immich/meta.json | 2 +- blueprints/immich/template.toml | 7 --- 4 files changed, 17 insertions(+), 62 deletions(-) diff --git a/.gitignore b/.gitignore index 904891b2f..070827461 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules package-lock.json -meta.json.backup.* \ No newline at end of file +meta.json.backup.* +.wrangler/ \ No newline at end of file diff --git a/blueprints/immich/docker-compose.yml b/blueprints/immich/docker-compose.yml index f385b329b..4454a7649 100644 --- a/blueprints/immich/docker-compose.yml +++ b/blueprints/immich/docker-compose.yml @@ -1,11 +1,9 @@ -version: "3.9" - services: immich-server: - image: ghcr.io/immich-app/immich-server:v2.1.0 + image: ghcr.io/immich-app/immich-server:v3.0.2 volumes: - - immich-library:/usr/src/app/upload + - immich-library:/data - /etc/localtime:/etc/localtime:ro depends_on: immich-redis: @@ -13,87 +11,50 @@ services: immich-database: condition: service_healthy environment: - PORT: 2283 SERVER_URL: ${SERVER_URL} - FRONT_BASE_URL: ${FRONT_BASE_URL} - # Database Configuration - DB_HOSTNAME: ${DB_HOSTNAME} - DB_PORT: ${DB_PORT} + DB_HOSTNAME: immich-database DB_USERNAME: ${DB_USERNAME} DB_PASSWORD: ${DB_PASSWORD} DB_DATABASE_NAME: ${DB_DATABASE_NAME} - # Redis Configuration - REDIS_HOSTNAME: ${REDIS_HOSTNAME} - REDIS_PORT: ${REDIS_PORT} - REDIS_DBINDEX: ${REDIS_DBINDEX} - # Server Configuration + REDIS_HOSTNAME: immich-redis TZ: ${TZ} restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:2283/server-info/ping"] - interval: 30s - timeout: 10s - retries: 3 + disable: false immich-machine-learning: - image: ghcr.io/immich-app/immich-machine-learning:v2.1.0 + image: ghcr.io/immich-app/immich-machine-learning:v3.0.2 volumes: - immich-model-cache:/cache environment: - REDIS_HOSTNAME: ${REDIS_HOSTNAME} - REDIS_PORT: ${REDIS_PORT} - REDIS_DBINDEX: ${REDIS_DBINDEX} + REDIS_HOSTNAME: immich-redis restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:3003/ping"] - interval: 30s - timeout: 10s - retries: 3 + disable: false immich-redis: - image: redis:6.2-alpine + image: docker.io/valkey/valkey:9@sha256:4963247afc4cd33c7d3b2d2816b9f7f8eeebab148d29056c2ca4d7cbc966f2d9 volumes: - immich-redis-data:/data healthcheck: - test: ["CMD", "redis-cli", "ping"] - interval: 10s - timeout: 5s - retries: 5 + test: redis-cli ping || exit 1 restart: unless-stopped immich-database: - image: tensorchord/pgvecto-rs:pg14-v0.3.0 + image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23 volumes: - immich-postgres:/var/lib/postgresql/data environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} - POSTGRES_DB: immich + POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' + shm_size: 128mb healthcheck: - test: pg_isready -U ${DB_USERNAME} -d immich || exit 1 - interval: 10s - timeout: 5s - retries: 5 - command: - [ - 'postgres', - '-c', - 'shared_preload_libraries=vectors.so', - '-c', - 'search_path="$$user", public, vectors', - '-c', - 'logging_collector=on', - '-c', - 'max_wal_size=2GB', - '-c', - 'shared_buffers=512MB', - '-c', - 'wal_compression=on', - ] + disable: false restart: unless-stopped volumes: diff --git a/blueprints/immich/meta.json b/blueprints/immich/meta.json index bc3ecb6bd..cf1aa6344 100644 --- a/blueprints/immich/meta.json +++ b/blueprints/immich/meta.json @@ -1,7 +1,7 @@ { "id": "immich", "name": "Immich", - "version": "v1.121.0", + "version": "v3.0.2", "description": "High performance self-hosted photo and video backup solution directly from your mobile phone.", "logo": "immich.svg", "links": { diff --git a/blueprints/immich/template.toml b/blueprints/immich/template.toml index f2b910e72..6ae7404d6 100644 --- a/blueprints/immich/template.toml +++ b/blueprints/immich/template.toml @@ -5,17 +5,10 @@ db_user = "immich" [config] env = [ - "IMMICH_HOST=${main_domain}", "SERVER_URL=https://${main_domain}", - "FRONT_BASE_URL=https://${main_domain}", - "DB_HOSTNAME=immich-database", - "DB_PORT=5432", "DB_USERNAME=${db_user}", "DB_PASSWORD=${db_password}", "DB_DATABASE_NAME=immich", - "REDIS_HOSTNAME=immich-redis", - "REDIS_PORT=6379", - "REDIS_DBINDEX=0", "TZ=UTC", ] mounts = [] From 751ebdc9f8de444874f544110177c7dd240edd48 Mon Sep 17 00:00:00 2001 From: Kishore S <74819242+Pepperjack-svg@users.noreply.github.com> Date: Sat, 18 Jul 2026 16:41:19 +0530 Subject: [PATCH 3/3] Simplify Immich template: use default hostnames, floating release tag - Rename immich-redis/immich-database services to redis/database so Immich's built-in default hostnames apply without explicit overrides - Drop unused env vars (IMMICH_HOST, FRONT_BASE_URL, DB_HOSTNAME, DB_PORT, REDIS_HOSTNAME, REDIS_PORT, REDIS_DBINDEX, TZ) that the compose file never consumed - Track immich-server/immich-machine-learning via ${IMMICH_VERSION:-release} matching upstream's own compose convention - Bump meta.json version to v3.0.3 --- blueprints/immich/docker-compose.yml | 17 ++++++----------- blueprints/immich/meta.json | 2 +- blueprints/immich/template.toml | 15 ++++++--------- 3 files changed, 13 insertions(+), 21 deletions(-) diff --git a/blueprints/immich/docker-compose.yml b/blueprints/immich/docker-compose.yml index 4454a7649..0f51002ec 100644 --- a/blueprints/immich/docker-compose.yml +++ b/blueprints/immich/docker-compose.yml @@ -1,39 +1,34 @@ services: immich-server: - image: ghcr.io/immich-app/immich-server:v3.0.2 + image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - immich-library:/data - /etc/localtime:/etc/localtime:ro depends_on: - immich-redis: + redis: condition: service_healthy - immich-database: + database: condition: service_healthy environment: SERVER_URL: ${SERVER_URL} - DB_HOSTNAME: immich-database DB_USERNAME: ${DB_USERNAME} DB_PASSWORD: ${DB_PASSWORD} DB_DATABASE_NAME: ${DB_DATABASE_NAME} - REDIS_HOSTNAME: immich-redis - TZ: ${TZ} restart: unless-stopped healthcheck: disable: false immich-machine-learning: - image: ghcr.io/immich-app/immich-machine-learning:v3.0.2 + image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} volumes: - immich-model-cache:/cache - environment: - REDIS_HOSTNAME: immich-redis restart: unless-stopped healthcheck: disable: false - immich-redis: + redis: image: docker.io/valkey/valkey:9@sha256:4963247afc4cd33c7d3b2d2816b9f7f8eeebab148d29056c2ca4d7cbc966f2d9 volumes: @@ -42,7 +37,7 @@ services: test: redis-cli ping || exit 1 restart: unless-stopped - immich-database: + database: image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23 volumes: diff --git a/blueprints/immich/meta.json b/blueprints/immich/meta.json index cf1aa6344..a4bce79b0 100644 --- a/blueprints/immich/meta.json +++ b/blueprints/immich/meta.json @@ -1,7 +1,7 @@ { "id": "immich", "name": "Immich", - "version": "v3.0.2", + "version": "latest", "description": "High performance self-hosted photo and video backup solution directly from your mobile phone.", "logo": "immich.svg", "links": { diff --git a/blueprints/immich/template.toml b/blueprints/immich/template.toml index 6ae7404d6..6e56bf837 100644 --- a/blueprints/immich/template.toml +++ b/blueprints/immich/template.toml @@ -4,16 +4,13 @@ db_password = "${password}" db_user = "immich" [config] -env = [ - "SERVER_URL=https://${main_domain}", - "DB_USERNAME=${db_user}", - "DB_PASSWORD=${db_password}", - "DB_DATABASE_NAME=immich", - "TZ=UTC", -] -mounts = [] - [[config.domains]] serviceName = "immich-server" port = 2_283 host = "${main_domain}" + +[config.env] +SERVER_URL = "https://${main_domain}" +DB_USERNAME = "${db_user}" +DB_PASSWORD = "${db_password}" +DB_DATABASE_NAME = "immich"