From 802042bfdd6cd826d8b75fef00ebc71b13708ac2 Mon Sep 17 00:00:00 2001 From: luisporta7CA Date: Wed, 5 Nov 2025 09:58:32 -0300 Subject: [PATCH 1/3] Update docker-compose.yml --- supabase/code/docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/supabase/code/docker-compose.yml b/supabase/code/docker-compose.yml index a8d8584d..b85e36f1 100644 --- a/supabase/code/docker-compose.yml +++ b/supabase/code/docker-compose.yml @@ -9,6 +9,20 @@ name: supabase services: + n8n: + image: n8nio/n8n:latest + restart: always + environment: + - WEBHOOK_URL=https://paneln8n.clicandapp.com/ + - GENERIC_TIMEZONE=Europe/Madrid + - TZ=Europe/Madrid + - N8N_DEFAULT_LOCALE=es + # (add authentication variables or any other needed variables) + depends_on: + - db + ports: + - "5678:5678" + studio: image: supabase/studio:2025.05.19-sha-3487831 restart: unless-stopped From ac0d8fee3bf1498139b16ef9e72ab752e8a84426 Mon Sep 17 00:00:00 2001 From: luisporta7CA Date: Wed, 5 Nov 2025 10:40:09 -0300 Subject: [PATCH 2/3] Update docker-compose.yml --- supabase/code/docker-compose.yml | 109 +++++++++++++------------------ 1 file changed, 47 insertions(+), 62 deletions(-) diff --git a/supabase/code/docker-compose.yml b/supabase/code/docker-compose.yml index b85e36f1..3236335e 100644 --- a/supabase/code/docker-compose.yml +++ b/supabase/code/docker-compose.yml @@ -7,22 +7,7 @@ name: supabase -services: - - n8n: - image: n8nio/n8n:latest - restart: always - environment: - - WEBHOOK_URL=https://paneln8n.clicandapp.com/ - - GENERIC_TIMEZONE=Europe/Madrid - - TZ=Europe/Madrid - - N8N_DEFAULT_LOCALE=es - # (add authentication variables or any other needed variables) - depends_on: - - db - ports: - - "5678:5678" - +services: studio: image: supabase/studio:2025.05.19-sha-3487831 restart: unless-stopped @@ -441,54 +426,54 @@ services: - "label=disable" # Update the DATABASE_URL if you are using an external Postgres database - supavisor: - image: supabase/supavisor:2.5.1 - restart: unless-stopped - volumes: - - ./volumes/pooler/pooler.exs:/etc/pooler/pooler.exs:ro,z - healthcheck: - test: - [ - "CMD", - "curl", - "-sSfL", - "--head", - "-o", - "/dev/null", - "http://127.0.0.1:4000/api/health" - ] - interval: 10s - timeout: 5s - retries: 5 - depends_on: - db: - condition: service_healthy - analytics: - condition: service_healthy - environment: - PORT: 4000 - POSTGRES_PORT: ${POSTGRES_PORT} - POSTGRES_DB: ${POSTGRES_DB} - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - DATABASE_URL: ecto://supabase_admin:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/_supabase - CLUSTER_POSTGRES: true - SECRET_KEY_BASE: ${SECRET_KEY_BASE} - VAULT_ENC_KEY: ${VAULT_ENC_KEY} - API_JWT_SECRET: ${JWT_SECRET} - METRICS_JWT_SECRET: ${JWT_SECRET} - REGION: local - ERL_AFLAGS: -proto_dist inet_tcp - POOLER_TENANT_ID: ${POOLER_TENANT_ID} - POOLER_DEFAULT_POOL_SIZE: ${POOLER_DEFAULT_POOL_SIZE} - POOLER_MAX_CLIENT_CONN: ${POOLER_MAX_CLIENT_CONN} - POOLER_POOL_MODE: transaction - command: +supavisor: + image: supabase/supavisor:2.5.1 + restart: unless-stopped + volumes: + - ./volumes/pooler/pooler.exs:/etc/pooler/pooler.exs:ro,z + healthcheck: + test: [ - "/bin/sh", - "-c", - "/app/bin/migrate && /app/bin/supavisor eval \"$$(cat - /etc/pooler/pooler.exs)\" && /app/bin/server" + "CMD", + "curl", + "-sSfL", + "--head", + "-o", + "/dev/null", + "http://127.0.0.1:4000/api/health" ] + interval: 10s + timeout: 5s + retries: 5 + depends_on: + db: + condition: service_healthy + analytics: + condition: service_healthy + ports: + - "6543:6543" + environment: + POSTGRES_PORT: ${POSTGRES_PORT} + POSTGRES_DB: ${POSTGRES_DB} + POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} + DATABASE_URL: ecto://supabase_admin:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/_supabase + CLUSTER_POSTGRES: true + SECRET_KEY_BASE: ${SECRET_KEY_BASE} + VAULT_ENC_KEY: ${VAULT_ENC_KEY} + API_JWT_SECRET: ${JWT_SECRET} + METRICS_JWT_SECRET: ${JWT_SECRET} + REGION: local + ERL_AFLAGS: -proto_dist inet_tcp + POOLER_TENANT_ID: ${POOLER_TENANT_ID} + POOLER_DEFAULT_POOL_SIZE: ${POOLER_DEFAULT_POOL_SIZE} + POOLER_MAX_CLIENT_CONN: ${POOLER_MAX_CLIENT_CONN} + POOLER_POOL_MODE: transaction + command: + [ + "/bin/sh", + "-c", + "/app/bin/migrate && /app/bin/supavisor eval \"$$(cat /etc/pooler/pooler.exs)\" && /app/bin/server" + ] volumes: db-config: From 72d1b2b34761413f8943ed16f3fb4b72d26130a4 Mon Sep 17 00:00:00 2001 From: luisporta7CA Date: Wed, 5 Nov 2025 11:07:03 -0300 Subject: [PATCH 3/3] Update docker-compose.yml --- supabase/code/docker-compose.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/supabase/code/docker-compose.yml b/supabase/code/docker-compose.yml index b85e36f1..c20b18e8 100644 --- a/supabase/code/docker-compose.yml +++ b/supabase/code/docker-compose.yml @@ -8,21 +8,6 @@ name: supabase services: - - n8n: - image: n8nio/n8n:latest - restart: always - environment: - - WEBHOOK_URL=https://paneln8n.clicandapp.com/ - - GENERIC_TIMEZONE=Europe/Madrid - - TZ=Europe/Madrid - - N8N_DEFAULT_LOCALE=es - # (add authentication variables or any other needed variables) - depends_on: - - db - ports: - - "5678:5678" - studio: image: supabase/studio:2025.05.19-sha-3487831 restart: unless-stopped @@ -465,8 +450,9 @@ services: condition: service_healthy analytics: condition: service_healthy + ports: + - "6543:6543" environment: - PORT: 4000 POSTGRES_PORT: ${POSTGRES_PORT} POSTGRES_DB: ${POSTGRES_DB} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}