forked from falcondev-oss/github-actions-cache-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
34 lines (28 loc) · 732 Bytes
/
.env.example
File metadata and controls
34 lines (28 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Example environment configuration for GitHub Actions Cache Server
# Basic Configuration
API_BASE_URL=http://localhost:3000
NITRO_PORT=3000
DEBUG=false
# Storage Configuration
STORAGE_DRIVER=filesystem
# For S3: s3
# For GCS: gcs
# Database Configuration
DB_DRIVER=sqlite
# For MySQL: mysql
# For PostgreSQL: postgres
# Cache Management
CACHE_CLEANUP_OLDER_THAN_DAYS=90
CACHE_CLEANUP_CRON=0 0 * * *
UPLOAD_CLEANUP_CRON=*/10 * * * *
ENABLE_DIRECT_DOWNLOADS=false
# Metrics Configuration
METRICS_ENABLED=false
METRICS_HOST=localhost
METRICS_PORT=8125
METRICS_PREFIX=cache_server.
# For production with Datadog in Kubernetes:
# METRICS_ENABLED=true
# METRICS_HOST=datadog-agent
# METRICS_PORT=8125
# METRICS_PREFIX=cache_server.