forked from platformsh/legacy-cli
-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yaml
114 lines (98 loc) · 3.36 KB
/
config.yaml
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Metadata about the CLI application itself.
application:
name: 'Platform.sh CLI'
version: '3.16.2'
executable: 'platform'
package_name: 'platformsh/cli'
installer_url: 'https://platform.sh/cli/installer'
manifest_url: 'https://platform.sh/cli/manifest.json'
user_config_dir: '.platformsh'
user_state_file: '.platformsh/state.json'
env_prefix: 'PLATFORMSH_CLI_'
# Configuration for working with projects locally.
local:
local_dir: '.platform/local'
archive_dir: '.platform/local/build-archives'
build_dir: '.platform/local/builds'
dependencies_dir: '.platform/local/deps'
project_config: '.platform/local/project.yaml'
project_config_legacy: '.platform-project'
shared_dir: '.platform/local/shared'
web_root: '_www'
# This can be overridden by the {application.env_prefix}COPY_ON_WINDOWS env
# var, or via the user config file.
copy_on_windows: false
drupal:
profiles_dir: '~/profiles'
sites_dir: '~/sites'
deploy:
git_default_branch: 'qa'
# WARNING: never use master (live), as this environment is also used to
# mount remote files locally; these files may be edited/deleted!
# The environment is also used to sync the database from.
remote_environment: 'snapshot'
db_backup_local_cache: '/tmp'
external_process_timeout: 0.0 # = null = infinite
# This variable must be set on the backup environment for each project.
internal_site_code_variable: 'SITE_CODE'
local_domain: '.local.artetecha.com'
stack:
mysql_user: 'user'
mysql_password: 'user'
mysql_root_user: 'root'
mysql_root_password: 'root'
mysql_host: 'localhost'
mysql_port: 3306
mysql_db_prefix: 'psh_'
elasticsearch_host: 'localhost'
elasticsearch_port: 9200
integration:
github_base_uri: '[email protected]:artetecha'
github_repo_prefix: 'int_'
github_default_branch: 'qa'
github_local_flag_file: '.github-integration-active'
# Details about the cloud service that the CLI works with.
service:
name: 'Platform.sh'
env_prefix: 'PLATFORM_'
app_config_file: '.platform.app.yaml'
project_config_dir: '.platform'
docs_url: 'https://docs.platform.sh'
docs_search_url: 'https://docs.platform.sh/?q={{ terms }}'
accounts_url: 'https://accounts.platform.sh'
available_regions:
- eu.platform.sh
- us.platform.sh
available_plans:
- development
- standard
- medium
- large
# Configuration relating to API calls.
# This can be overridden in the user config file.
api:
oauth2_client_id: 'platform-cli'
projects_ttl: 3600
environments_ttl: 600
users_ttl: 3600
# Overridden by {application.env_prefix}ACCOUNTS_API env var.
accounts_api_url: 'https://accounts.platform.sh/api/platform/'
# Overridden by {application.env_prefix}DEBUG env var.
debug: false
# Overridden by {application.env_prefix}DISABLE_CACHE env var.
disable_cache: false
# Overridden by {application.env_prefix}SKIP_SSL env var.
skip_ssl: false
# Overridden by {application.env_prefix}SESSION_ID env var.
session_id: 'default'
# How the CLI detects and configures Git repositories as projects.
detection:
git_remote_name: 'platform'
git_domain: 'platform.sh'
site_domains: ['platform.sh', 'platformsh.site']
# Automatic updates.
# This can be overridden in the user config file.
updates:
check_interval: 86400
# Overridden by {application.env_prefix}UPDATES_CHECK env var.
check: true