-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (28 loc) · 1.25 KB
/
.env.example
File metadata and controls
39 lines (28 loc) · 1.25 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
# Environment variables for Azure DevOps Agent
# Copy this file to .env and fill in the values
# Your Azure DevOps organization URL
AZP_URL=https://dev.azure.com/your-organization
# Personal Access Token (PAT) for Azure DevOps
# Must have permissions: Agent Pools (read, manage), Build (read), Code (read)
# Alternative: use AWS_REGION + AZURE_DEVOPS_TOKEN_SECRET_ARN
AZP_TOKEN=your-token-here
# Azure DevOps agent pool
AZP_POOL=Default
# Base name for agents (will be suffixed with -${AGENT_NUMBER}-${INSTANCE_ID})
AZP_AGENT_NAME=docker-agent
# Agent number (1 to 7) - provided at container startup
AGENT_NUMBER=1
# === Optional variables ===
# AWS instance ID (automatically retrieved if not provided)
# INSTANCE_ID=i-1234567890abcdef0
# AWS Secrets Manager configuration (recommended for production)
# AWS_REGION=eu-west-1
# AZURE_DEVOPS_TOKEN_SECRET_ARN=arn:aws:secretsmanager:eu-west-1:123456789012:secret:azure-devops-token-AbCdEf
# Default container image (optional)
DEFAULT_CONTAINER_IMAGE=ubuntu:22.04
# Default volumes (optional)
# For Windows/Podman: no socket mounted, use DOCKER_HOST
# For Docker Desktop: /var/run/docker.sock:/var/run/docker.sock
DEFAULT_VOLUMES=/cache:/cache,/data:/data
# Installation folder for the agent
INSTALL_FOLDER=/opt/azagent