diff --git a/docker/.env.example b/docker/.env.example index e39eb8f4f0b..17bb463705f 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -79,6 +79,10 @@ SUPABASE_PUBLIC_URL=http://localhost:8000 # Enable webp support IMGPROXY_ENABLE_WEBP_DETECTION=true +############ +# Functions - Configuration for Functions +############ +FUNCTIONS_HTTP_PORT=9002 ############ # Logs - Configuration for Logflare diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0152bb6e109..c2a5205856d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -252,6 +252,8 @@ services: SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY} SUPABASE_DB_URL: postgresql://postgres:${POSTGRES_PASSWORD}@{POSTGRES_DB}:${POSTGRES_PORT}/${POSTGRES_DB}" VERIFY_JWT: false + ports: + - ${FUNCTIONS_HTTP_PORT}:9000/tcp volumes: - ./volumes/functions:/home/deno/functions:Z command: