-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathremote-config.jsonc
282 lines (281 loc) · 15.5 KB
/
remote-config.jsonc
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
{
// Update interval of the remote config in hours.
"update-interval": 10,
// Messages shown to the user.
"messages": {
// Infos and warnings are shown on almost every ddev command and
// cannot be disabled by the user, please use with caution!
// "notifications": {
// "interval": 20,
// "infos": [
// {
// "message": "If you have warnings about omit_containers: [dba] try `grep \"^omit_containers.*dba\" */.ddev/config.yaml` in the directory where you keep your projects"
// }
// ],
// "warnings": []
// },
// Ticker messages are shown once in an interval and are rotated
// once a message was shown.
"notifications": {
"interval": 20,
"infos": [
// {
// "message": "The upstream deb.sury.org package key was unfortunately allowed to come near expiration as of 16 Feb 2024. This does not affect DDEV v1.22.7, so upgrade, but if you see warnings or errors in earlier versions during `ddev start` the easy fix is in https://github.com/ddev/ddev/issues/5795",
// "versions": "<=v1.22.6"
// }
],
"warnings": []
},
"ticker": {
"interval": 20,
"messages": [
{
"message": "Join the DDEV Discord to support others and get support: https://ddev.com/s/discord"
},
{
"message": "Sign up for Contributor training! The upcoming sessions are at https://www.meetup.com/ddev-events/events/"
},
{
"message": "A 403 from your project may mean the docroot is not specified or `index.php` is missing."
},
{
"message": "You can have as many databases as you want! https://ddev.readthedocs.io/en/stable/users/usage/faq/#can-i-use-additional-databases-with-ddev"
},
{
"message": "Use `ddev describe` to get a summary of your project’s configuration."
},
{
"message": "Don’t forget to read the docs! https://ddev.readthedocs.io/"
},
{
"message": "DDEV needs *you* and *your organization* as a financial sponsor! https://github.com/sponsors/ddev"
},
{
"message": "Use `ddev exec` or `ddev .` to run commands in your web container."
},
{
"message": "`ddev snapshot` is great to get a quick copy of your database. `ddev help snapshot`"
},
{
"message": "Try `ddev share` so collaborators anywhere can see your current project. https://ddev.readthedocs.io/en/stable/users/topics/sharing/"
},
{
"message": "`ddev poweroff` is a great way to get back to the beginning and save resources."
},
{
"message": "`ddev delete` deletes your database and project registration; it doesn't delete any code or configuration. `ddev help delete`"
},
{
"message": "`ddev delete images` will save you some disk space by removing all ddev/ddev-* Docker images not in use by the current version of DDEV."
},
{
"message": "Different projects can communicate with each other! https://ddev.readthedocs.io/en/stable/users/usage/faq/#can-different-projects-communicate-with-each-other"
},
{
"message": "The FAQ is a useful collection of not-obvious details: https://ddev.readthedocs.io/en/stable/users/usage/faq"
},
{
"message": "Need to get the database and files from your Platform.sh stack? Try `ddev pull platform`! https://ddev.readthedocs.io/en/stable/users/providers/platform"
},
{
"message": "Use `ddev composer` instead of `composer` to ensure your project uses the Composer and PHP versions it specifies."
},
{
"message": "`ddev npm` is usually the best way to run npm commands for your codebase, since it respects the nodejs_version you have configured."
},
{
"message": "`ddev yarn` is a great way to run yarn commands in your web container."
},
{
"message": "`ddev snapshot -a` will back up all your project databases."
},
{
"message": "You're invited to the DDEV Advisory Group, first Wednesday every two months, see the schedule and sign up at https://www.meetup.com/ddev-events/"
},
{
"message": "Sign up for the DDEV newsletter! https://ddev.com/newsletter/"
},
{
"message": "To add phpMyAdmin to your DDEV project, run `ddev add-on get ddev/ddev-phpmyadmin`, or try one of the many other database browsers, https://ddev.readthedocs.io/en/stable/users/usage/database-management/#database-guis"
},
{
"message": "MacStadium supports DDEV with an M1 Mac Mini that runs macOS tests."
},
{
"message": "You can turn off the cell borders in `ddev describe` and `ddev list` by running `ddev config global --simple-formatting`."
},
{
"message": "You can use a more lively `ddev list` and `ddev describe` output by running `ddev config global --table-style=bright`. Try it!"
},
{
"message": "DDEV's fiscal entity is the DDEV Foundation. We have a real focus on the long-term sustainability of the project, not just depending on Randy. https://ddev.com/foundation"
},
{
"message": "Tag1 Consulting is a major sponsor of DDEV with $1K/month! Stop by and thank them at https://tag1.com."
},
{
"message": "Lots of database browsers work with DDEV, including TablePlus, Sequel Pro, and DBeaver. https://ddev.readthedocs.io/en/stable/users/usage/database-management/#database-guis"
},
{
"message": "View officially-supported add-ons by running `ddev add-on list`, or include third-party add-ons with `ddev add-on list --all`"
},
{
"message": "VS Code users love the DDEV Manager extension! https://marketplace.visualstudio.com/items?itemName=biati.ddev-manager"
},
{
"message": "PhpStorm users love the DDEV Integration Plugin! https://plugins.jetbrains.com/plugin/18813-ddev-integration"
},
{
"message": "Run `ddev logs -f --time` for insights on crashed containers or other misbehavior."
},
{
"message": "ddev.com is open source and the perfect place to share a case study, innovative uses of DDEV, or your custom-made guides and recipes. Learn how to contribute at https://ddev.com/blog/ddev-website-for-contributors/"
},
{
"message": "You can contribute your own tips to these daily tips with a PR on https://github.com/ddev/remote-config"
},
{
"message": "DDEV's goal is to make developers happy.\nWe hope you're happy today!"
},
{
"message": "Most teams check in a project’s `.ddev` directory so everybody has the same configuration. But do NOT force-add the `.ddev/.gitignore`, which is managed by DDEV."
},
{
"message": "DDEV has support for many database browsers. See them all at https://ddev.readthedocs.io/en/stable/users/usage/database-management/#database-guis"
},
{
"message": "Pro tip: `ddev config --auto` will update your project config to remove items that are obsolete (and update some), but it won't change configured values."
},
{
"message": "The new `ddev config --update` will change your project config where possible based on the code that is discovered in your project."
},
{
"message": "Consider removing `router_http_port`, `router_https_port`, `project_tld`, and `nodejs_version` from a project’s `config.yaml` so it can use the global defaults."
},
{
"message": "Don't forget that `ddev launch` can take a URI, like `ddev launch /admin/reports/status` and don't forget `ddev mailpit` to get the Mailpit UI."
},
{
"message": "On macOS, DDEV officially supports OrbStack, Rancher Desktop, Lima and Docker Desktop. Colima is now discouraged."
},
{
"message": "Try 'ddev pull upsun' with Upsun from Platform.sh, https://upsun.com"
},
{
"message": "DDEV supports Amazee.io's Lagoon hosting platform. 'ddev pull lagoon'."
},
{
"message": "These days it makes more sense to use `nodejs_version` with a full version than using `ddev nvm`, which is more complex and error-prone. You can now set 'nodejs_version' to any major or minor version, not just currently supported major versions. So 'nodejs_version: 21.2.0' or 'nodejs_version: 6' will work."
},
{
"message": "DDEV v1.24 changed some defaults for new projects, using PHP 8.3 and Node.JS 22."
},
{
"message": "DDEV Swag is available, including t-shirts, mugs, etc. see https://ddev.threadless.com/ - thanks @bmartinez287!"
},
{
"message": "DDEV allows you to rapidly profile the performance of your PHP code using XHProf with `ddev xhprof on`. Try out https://github.com/ddev/ddev-xhgui !"
},
{
"message": "Platform.sh is a generous 'partner' sponsor of DDEV! Stop by and thank them at https://platform.sh."
},
{
"message": "A key goal for DDEV in 2025 is to make it possible for maintainer Stas Zhuk to work full-time on DDEV, see https://ddev.com/blog/lets-fund-stas-maintainer/"
},
{
"message": "It's the DDEV community that makes DDEV what it is. THANK YOU!"
},
{
"message": "The DDEV Foundation is an official US 501(c)(3) organization. That means the foundation doesn't have to pay taxes and any financial contribution to it is tax-deductible. https://ddev.com/blog/501c3/"
},
{
"message": "Have you ever wondered how 'ddev.site' domain names work? Read all about it at https://ddev.com/blog/ddev-name-resolution-wildcards"
},
{
"message": "Use 'ddev_version_constraint' in your .ddev/config.yaml to make sure all your team members are on the same minimum DDEV version, for example `ddev_version_constraint: '>=v1.24.0'`"
},
{
"message": "Explicit support for the `symfony` project type was added in DDEV v1.24.0, so now you can `ddev config --project-type=symfony`."
},
{
"message": "Want to know more about using vite with DDEV? The Vite blog is superbly maintained by Matthias Andrasch with the latest information: https://ddev.com/blog/working-with-vite-in-ddev/"
},
{
"message": "If you use the new 'symfony' project type for your project, use `ddev_version_constraint: '>=v1.24.0'` to make sure your team members have a version that supports them."
},
{
"message": "The ddev-browsersync add-on lets you quickly and easily add Browsersync to your project, see https://github.com/ddev/ddev-browsersync - thanks to @tyler36"
},
{
"message": "Did you know you can set environment variables for any container with `.ddev/.env` and `.ddev/.env.*` files? See docs at https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#environment-variables-for-containers-and-services"
},
{
"message": "DDEV is happy to help you with settings management, for example by creating a settings.ddev.php, but it's just there to make it easier for you. Turn it off with `ddev config --disable-settings-management`, more in https://ddev.readthedocs.io/en/stable/users/usage/cms-settings/"
},
{
"message": "Are you using DDEV in Continuous Integration (CI) or any kind of automated testing? If so, please turn off instrumentation, `ddev config global --instrumentation-opt-in=false` or `export DDEV_NO_INSTRUMENTATION=true`"
},
{
"message": "In DDEV v1.24.0 we've gone back to using separate `drupal10` and `drupal11` project types. The `drupal` project type still works, but it's now an alias to the current stable release, `drupal11` right now."
},
{
"message": "The most popular DDEV add-ons are phpmyadmin, redis, solr, elasticsearch, adminer, ddev-cron, and ddev-selenium-standalone-chrome. You can execute `ddev add-on list` to see officially supported add-ons, and `ddev add-on list --all` to see all of them."
},
{
"message": "One reason DDEV can work across so many different environments is the automated testing. Every single change runs a full test suite on macOS (ARM64 and AMD64), Windows WSL2, traditional Windows, and Linux (AMD64 and ARM64). It's hours and hours of mostly functional testing on all the major platforms."
},
{
"message": "Don't forget to upgrade DDEV! https://ddev.readthedocs.io/en/stable/users/install/ddev-upgrade/"
},
{
"message": "DDEV goes to great lengths to keep you and your projects working. See the recent event where MariaDB changed their dump file format, https://ddev.com/blog/mariadb-dump-breaking-change"
},
{
"message": "`ddev .` is a shortcut for `ddev exec`, so you can `ddev . ls` for example."
},
{
"message": "Organizations that donate $1000/month or more to the DDEV Foundation get their own special thank-you as a tip-of-the-day! Your organization can be here."
},
{
"message": "There are more than 400 great questions and answers about DDEV on Stack Overflow, see https://stackoverflow.com/tags/ddev"
},
{
"message": "You can use `cloudflared` as well as `ngrok` for sharing projects with others, see https://stackoverflow.com/questions/78729503/drupal-10-multisite-using-ddev-share-or-cloudflare/78744731#78744731"
},
{
"message": "You can use `http` URLs with any project alongside the `https` URLs, just see `ddev describe` to show them."
},
{
"message": "Interested in backup techniques for your DDEV projects? https://ddev.com/blog/ddev-backups"
},
{
"message": "If you leave the `name` out of your `.ddev/config.yaml` then the project will take the name of the directory it's in."
},
{
"message": "Look how many DDEV quickstarts for CMSs and frameworks there are now! https://ddev.readthedocs.io/en/stable/users/quickstart/"
},
{
"message": "macOS Docker provider comparisons, https://ddev.com/blog/docker-performance-2023 - what's working for you?"
},
{
"message": "DDEV already supports PHP 8.4!"
},
{
"message": "`ddev aliases` will show you the alternate versions of commands you can use. For example, `ddev st` for `ddev describe`."
},
{
"message": "DDEV v1.24.2 will have MySQL 8.4 and there's lots of database performance improvements, see https://ddev.com/blog/database-improvements"
},
{
"message": "Take the Open Source Pledge and include DDEV in your plans based on its value to your organization, https://ddev.com/blog/open-source-pledge"
},
{
"message": "Are you interested in how 14,000 developers are using DDEV weekly and what they're doing with it? See the latest analysis, https://ddev.com/blog/stats-on-ddev-usage-nov-2024"
},
{
"message": "DDEV supports ARM64 Windows very nicely, especially under WSL2, but does great everywhere, macOS (native ARM64), Linux, Windows - https://ddev.com/blog/windows-ddev-setup"
}
]
}
}
}