-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfly-template.toml
More file actions
43 lines (35 loc) · 1.29 KB
/
fly-template.toml
File metadata and controls
43 lines (35 loc) · 1.29 KB
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
35
36
37
38
39
40
41
42
43
# Fly.io Template Configuration for Debrief Extension PR Previews
# This is a template file that will be dynamically modified during CI/CD
# The app name will be replaced with: pr-<PR_NUMBER>-futuredebrief
# The deployment will be accessible at: https://pr-<PR_NUMBER>-futuredebrief.fly.dev
app = "PR_APP_NAME_PLACEHOLDER"
primary_region = "dfw"
[build]
# Use the existing Dockerfile for code-server with Debrief extension
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = "stop"
auto_start_machines = true
min_machines_running = 1
processes = ["app"]
[[vm]]
# Increased resources for code-server + extension building
# Code-server needs more memory for VS Code functionality
cpu_kind = "shared"
cpus = 2
memory_mb = 2048
[env]
# Environment variables for code-server operation
PASSWORD = ""
SUDO_PASSWORD = ""
# Disable telemetry for privacy and performance
DISABLE_TELEMETRY = "true"
# Set proper timezone
TZ = "UTC"
# Add PR number for identification
PR_NUMBER = "PR_NUMBER_PLACEHOLDER"
# No persistent storage - stateless operation as required
# All data is ephemeral and reset with each deployment
# Remove processes section - let Dockerfile CMD handle the startup
# This prevents conflicts and uses the container's defined entry point