vibecarbon 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -187,12 +187,22 @@ services:
|
|
|
187
187
|
# (Internal services still connect directly for better performance)
|
|
188
188
|
|
|
189
189
|
# ===========================================
|
|
190
|
-
# EDGE FUNCTIONS (Production)
|
|
190
|
+
# EDGE FUNCTIONS (Production) — opt-in
|
|
191
191
|
# ===========================================
|
|
192
|
+
# Off by default: the template ships no real edge functions (only the 404
|
|
193
|
+
# stub at functions/main/index.ts), so running this container buys nothing
|
|
194
|
+
# and just adds an idle process. This `profiles:` gate keeps it from starting
|
|
195
|
+
# on a normal deploy — matching the k8s setup, where functions are likewise
|
|
196
|
+
# off until needed (deployment.functions.enabled in k8s/values/supabase.values.yaml).
|
|
197
|
+
# A project that adds a real function opts in with:
|
|
198
|
+
# docker compose --profile functions ... up
|
|
199
|
+
# The functions/ dir is already bundled to the server (see bundle.js), so
|
|
200
|
+
# enabling the profile works out of the box.
|
|
192
201
|
|
|
193
202
|
edge-functions:
|
|
194
203
|
image: supabase/edge-runtime:v1.71.2
|
|
195
204
|
container_name: ${PROJECT_NAME}-functions
|
|
205
|
+
profiles: ["functions"]
|
|
196
206
|
restart: unless-stopped
|
|
197
207
|
security_opt:
|
|
198
208
|
- no-new-privileges:true
|