Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# debug
APP_DEBUG_ENABLED=false

# githup app (required)
# github app (required)
APP_GITHUB_APP_ID=123456
APP_GITHUB_APP_PRIVATE_KEY_PATH=./.local/private-key.pem
APP_GITHUB_INSTALLATION_ID=987654
APP_GITHUB_ORG=cruxstack
APP_GITHUB_WEBHOOK_SECRET=your-webhook-secret-here

# githu pr compliance (optional)
# github pr compliance (optional)
APP_PR_COMPLIANCE_ENABLED=true
APP_PR_MONITORED_BRANCHES=main,master

Expand All @@ -33,3 +33,6 @@ APP_SLACK_CHANNEL=C01234ABCDE

# api gateway base path (optional, for lambda deployments with stage prefix)
# APP_BASE_PATH=v1

# server port (optional, for cmd/server only, default: 8080)
# APP_PORT=8080
2 changes: 1 addition & 1 deletion cmd/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func main() {
mux := http.NewServeMux()
mux.HandleFunc("/", httpHandler)

port := os.Getenv("PORT")
port := os.Getenv("APP_PORT")
if port == "" {
port = "8080"
}
Expand Down
Loading