From 2675333901ab62124bd09aedc51eb4062d98af03 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 9 Aug 2025 09:38:49 -0400 Subject: [PATCH 1/4] Adding NocoDB service. --- docker-compose.yml | 72 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3306fb95..1960e521 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4241,6 +4241,72 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock - nextcloud_aio_mastercontainer:/mnt/docker-aio-config + nocodb: + container_name: nocodb + depends_on: + nocodb-pg-db: + condition: service_healthy + required: true + nocodb-valkey: + condition: service_healthy + required: true + environment: + NC_DB: pg://nocodb-pg-db:5432?u=nocodb&p=${NOCODB_PG_PASSWORD}&d=nocodb + NC_ADMIN_EMAIL: noreply@${MY_TLD} + NC_ADMIN_PASSWORD: ${NOCODB_ADMIN_PASSWORD} + NC_PUBLIC_URL: https://nocodb.${MY_TLD} + NC_AUTH_JWT_SECRET: ${NOCODB_AUTH_JWT_SECRET} + NC_REDIS_URL: redis://nocodb-valkey:6379 + NC_SMTP_HOST: postal-smtp + NC_SMTP_PORT: 25 + NC_SMTP_SECURE: true + NC_SMTP_USERNAME: ${POSTAL_NC_SMTP_AUTH_USER} + NC_SMTP_PASSWORD: ${POSTAL_NC_SMTP_AUTH_PASSWORD} + NC_SMTP_FROM: noreply@${MY_TLD} + image: "nocodb/nocodb:latest" + labels: + homepage.group: Code/DevOps + homepage.name: NocoDB + homepage.href: https://nocodb.${MY_TLD} + homepage.icon: nocodb.svg + homepage.description: Turn any SQL-based database into a smart spreadsheet + swag: enable + swag_port: 8080 + swag_proto: http + swag_url: nocodb.${MY_TLD} + swag.uptime-kuma.enabled: true + swag.uptime-kuma.name: NocoDB + swag.uptime-kuma.monitor.url: https://nocodb.${MY_TLD} + swag.uptime-kuma.monitor.interval: 300 + swag.uptime-kuma.monitor.retryInterval: 60 + swag.uptime-kuma.monitor.maxretries: 5 + ports: + - 8946:8080 + restart: unless-stopped + volumes: + - nocodb_data:/usr/app/data + nocodb-pg-db: + container_name: nocodb-pg-db + environment: + POSTGRES_DB: nocodb + POSTGRES_PASSWORD: ${NOCODB_PG_PASSWORD} + POSTGRES_USER: nocodb + expose: + - 5432 + healthcheck: + interval: 10s + retries: 10 + test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\"" + timeout: 2s + image: postgres:16.6-alipine + restart: unless-stopped + volumes: + - nocodb_pg_data:/var/lib/postgresql/data + nocodb-valkey: + container_name: nocodb-valkey + << : *valkey-params + volumes: + - nocodb_valkey_data:/data/valkey ollama: container_name: ollama image: ollama/ollama @@ -7084,6 +7150,12 @@ volumes: name: n8n-data nextcloud_aio_mastercontainer: name: nextcloud_aio_mastercontainer + nocodb_data: + name: nocodb_data + nocodb_pg_data: + name: nocodb_pg_data + nocodb_valkey_data: + name: nocodb_valkey_data ollama: name: ollama paperless-ngx-data: -- 2.52.0 From b2dc00ead7aa00f7d62285160e99fc8bb366370a Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 9 Aug 2025 09:44:40 -0400 Subject: [PATCH 2/4] Correcting image for NocoDB Postgres. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1960e521..a9520452 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4298,7 +4298,7 @@ services: retries: 10 test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\"" timeout: 2s - image: postgres:16.6-alipine + image: postgres:16-alipine restart: unless-stopped volumes: - nocodb_pg_data:/var/lib/postgresql/data -- 2.52.0 From 39ffb0b39a3d74943ae847303874b8a48912ee0d Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 9 Aug 2025 09:48:56 -0400 Subject: [PATCH 3/4] Typo fix... need more chai. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index a9520452..764fb5fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4298,7 +4298,7 @@ services: retries: 10 test: "pg_isready -U \"$$POSTGRES_USER\" -d \"$$POSTGRES_DB\"" timeout: 2s - image: postgres:16-alipine + image: postgres:16-alpine restart: unless-stopped volumes: - nocodb_pg_data:/var/lib/postgresql/data -- 2.52.0 From 246879eee26e33d9c48868feeb3a35cd3a8c7c11 Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Sat, 9 Aug 2025 13:52:34 +0000 Subject: [PATCH 4/4] chore: Update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e4baad97..f20b333c 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,9 @@ | navidrome | deluan/navidrome:latest | | netalertx | jokobsk/netalertx:latest | | nextcloud | nextcloud/all-in-one:latest | +| nocodb | nocodb/nocodb:latest | +| nocodb-pg-db | postgres:16-alpine | +| nocodb-valkey | docker.io/bitnami/valkey:latest | | ollama | ollama/ollama | | ombi | lscr.io/linuxserver/ombi:latest | | omnitools | iib0011/omni-tools:latest | -- 2.52.0