Merge pull request 'supabase: own secrets, and unique ids for its containers' (#184) from fix/supabase-own-secrets into main

This commit was merged in pull request #184.
This commit is contained in:
2026-09-30 15:58:24 +00:00
+12 -15
View File
@@ -28,20 +28,9 @@
} }
], ],
"requires": [ "requires": [
"route", "route"
"secret"
], ],
"contributes": { "own-secrets": {
"route": {
"label": "supabase",
"endpoint": "api"
}
},
"binds": {
"route": "${dir:state}/route.json"
},
"secrets": {
"secret": {
"postgres": "${dir:state}/postgres.secret", "postgres": "${dir:state}/postgres.secret",
"jwt": "${dir:state}/jwt.secret", "jwt": "${dir:state}/jwt.secret",
"anon-key": "${dir:state}/anon-key.secret", "anon-key": "${dir:state}/anon-key.secret",
@@ -53,8 +42,16 @@
"key-base-a": "${dir:state}/key-base-a.secret", "key-base-a": "${dir:state}/key-base-a.secret",
"key-base-b": "${dir:state}/key-base-b.secret", "key-base-b": "${dir:state}/key-base-b.secret",
"openai": "${dir:state}/openai.secret" "openai": "${dir:state}/openai.secret"
},
"contributes": {
"route": {
"label": "supabase",
"endpoint": "api"
} }
}, },
"binds": {
"route": "${dir:state}/route.json"
},
"resources": [ "resources": [
{ {
"id": "state", "id": "state",
@@ -451,7 +448,7 @@
] ]
}, },
{ {
"id": "storage", "id": "storage-api",
"type": "container", "type": "container",
"name": "supabase-storage", "name": "supabase-storage",
"image": "supabase/storage-api@sha256:1e85dad48e8b3e85890a555e5114dc7ee48c2e8be4cfd97dd4e3564b4f104fcd", "image": "supabase/storage-api@sha256:1e85dad48e8b3e85890a555e5114dc7ee48c2e8be4cfd97dd4e3564b4f104fcd",
@@ -476,7 +473,7 @@
"secrets-in-environment": "postgres-meta reads PG_META_DB_PASSWORD from the environment only" "secrets-in-environment": "postgres-meta reads PG_META_DB_PASSWORD from the environment only"
}, },
{ {
"id": "functions", "id": "edge-functions",
"type": "container", "type": "container",
"name": "supabase-edge-functions", "name": "supabase-edge-functions",
"image": "supabase/edge-runtime@sha256:6f7ac3b363f6b278ff9235672a81504ad07709a07f62c50cd4fffb6708842ff1", "image": "supabase/edge-runtime@sha256:6f7ac3b363f6b278ff9235672a81504ad07709a07f62c50cd4fffb6708842ff1",