-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfiguration.yaml.dist
More file actions
75 lines (70 loc) · 2.28 KB
/
configuration.yaml.dist
File metadata and controls
75 lines (70 loc) · 2.28 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#auth_url: http://127.0.0.1:8080/me
app_host: 127.0.0.1
app_port: 8000
auth_url: https://dev.try.direct/server/user/oauth_server/api/me
max_clients_number: 2
agent_command_poll_timeout_secs: 30
agent_command_poll_interval_secs: 3
casbin_reload_enabled: true
casbin_reload_interval_secs: 10
database:
host: 127.0.0.1
port: 5432
username: postgres
password: postgres
database_name: stacker
amqp:
host: 127.0.0.1
port: 5672
username: guest
password: guest
# Vault configuration (can be overridden by environment variables)
# For production, set VAULT_ADDRESS=https://vault.try.direct (not Docker-internal IPs)
# The status panel agent authenticates through the Stacker server, which validates
# tokens against Vault. Using a Docker-internal IP will cause 403 errors.
vault:
address: https://vault.try.direct
token: change-me-dev-token
# API prefix (Vault uses /v1 by default). Set empty to omit.
api_prefix: v1
# Path under the mount (without deployment_hash), e.g. 'secret/debug/status_panel' or 'agent'
# Final path: {address}/{api_prefix}/{agent_path_prefix}/{deployment_hash}/token
agent_path_prefix: agent
ssh_key_path_prefix: data/users
# External service connectors
connectors:
user_service:
enabled: false
base_url: "https://dev.try.direct/server/user"
timeout_secs: 10
retry_attempts: 3
payment_service:
enabled: false
base_url: "http://localhost:8000"
timeout_secs: 15
events:
enabled: false
amqp_url: "amqp://guest:guest@127.0.0.1:5672/%2f"
exchange: "stacker_events"
prefetch: 10
dockerhub_service:
enabled: true
base_url: "https://hub.docker.com"
timeout_secs: 10
retry_attempts: 3
page_size: 50
redis_url: "redis://127.0.0.1/0"
cache_ttl_namespaces_secs: 86400
cache_ttl_repositories_secs: 21600
cache_ttl_tags_secs: 3600
username: ~
personal_access_token: ~
# Env overrides (optional):
# VAULT_ADDRESS, VAULT_TOKEN, VAULT_AGENT_PATH_PREFIX
# USER_SERVICE_AUTH_TOKEN, PAYMENT_SERVICE_AUTH_TOKEN
# DEFAULT_DEPLOY_DIR - Base directory for deployments (default: /home/trydirect)
# Deployment settings
# deployment:
# # Base path for app config files on the deployment server
# # Can also be set via DEFAULT_DEPLOY_DIR environment variable
# config_base_path: /home/trydirect