add portmap
This commit is contained in:
parent
cf7f28003c
commit
bea9f9951e
58
boltic.yaml
58
boltic.yaml
|
|
@ -1,57 +1,3 @@
|
||||||
# ============================================================================
|
|
||||||
# Boltic Configuration File - git-serverless-new
|
|
||||||
# ============================================================================
|
|
||||||
#
|
|
||||||
# ⚠️ WARNING: Changes to this file will directly impact your deployed application!
|
|
||||||
# - Env changes will update environment variables
|
|
||||||
# - Scaling changes will affect auto-scaling behavior
|
|
||||||
# - PortMap changes will modify exposed ports
|
|
||||||
#
|
|
||||||
# This file is synced with the Boltic UI. You can edit settings here or in the UI.
|
|
||||||
#
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
# SERVERLESS CONFIG GUIDE
|
|
||||||
# ----------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Environment Variables (Env):
|
|
||||||
# serverlessConfig:
|
|
||||||
# Env:
|
|
||||||
# MY_VAR: "my_value"
|
|
||||||
# DATABASE_URL: "postgres://..."
|
|
||||||
# API_KEY: "secret-key"
|
|
||||||
#
|
|
||||||
# Port Mapping (PortMap):
|
|
||||||
# serverlessConfig:
|
|
||||||
# PortMap:
|
|
||||||
# - Name: "testhttp"
|
|
||||||
# Port: 8080
|
|
||||||
# Protocol: "http"
|
|
||||||
# - Name: "test https"
|
|
||||||
# Port: 9090
|
|
||||||
# Protocol: "https"
|
|
||||||
#
|
|
||||||
# Scaling Configuration:
|
|
||||||
# serverlessConfig:
|
|
||||||
# Scaling:
|
|
||||||
# AutoStop: true # Auto-stop when idle
|
|
||||||
# Min: 1 # Minimum instances
|
|
||||||
# Max: 5 # Maximum instances
|
|
||||||
# MaxIdleTime: 300 # Seconds before auto-stop
|
|
||||||
#
|
|
||||||
# Resources:
|
|
||||||
# serverlessConfig:
|
|
||||||
# Resources:
|
|
||||||
# CPU: 0.5 # CPU cores (0.1 to 4)
|
|
||||||
# MemoryMB: 256 # Memory in MB
|
|
||||||
# MemoryMaxMB: 512 # Max memory in MB
|
|
||||||
#
|
|
||||||
# Timeout:
|
|
||||||
# serverlessConfig:
|
|
||||||
# Timeout: 120 # Request timeout in seconds
|
|
||||||
#
|
|
||||||
# For more info: https://docs.boltic.io/docs/compute/serverless/application-config
|
|
||||||
# ============================================================================
|
|
||||||
|
|
||||||
app: git-serverless-new
|
app: git-serverless-new
|
||||||
language: nodejs/20
|
language: nodejs/20
|
||||||
region: asia-south1
|
region: asia-south1
|
||||||
|
|
@ -65,3 +11,7 @@ serverlessConfig:
|
||||||
CPU: 0.1
|
CPU: 0.1
|
||||||
MemoryMB: 128
|
MemoryMB: 128
|
||||||
MemoryMaxMB: 128
|
MemoryMaxMB: 128
|
||||||
|
PortMap:
|
||||||
|
- Name: "http"
|
||||||
|
Port: 8080
|
||||||
|
Protocol: "http"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user