ddev-contrib | Contrib space for DDEV-Local services | Web Services library
kandi X-RAY | ddev-contrib Summary
kandi X-RAY | ddev-contrib Summary
Contrib space for DDEV-Local services, tools, snippets, approaches
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ddev-contrib
ddev-contrib Key Features
ddev-contrib Examples and Code Snippets
Community Discussions
Trending Discussions on ddev-contrib
QUESTION
I am working on two Drupal (7 and 9) projects which use PostgreSQL (based on the procedure described here). I noticed errors when they are both running at the same time: Drupal 7 will complain the variable
table does not exist, while Drupal 9 will disconnect me or display some kind of WSOD. Oddly enough, they can randomly work correctly or crash again on page reload. However, it gets perfectly fine when I turn one off.
All this makes me think of some trouble with the way I configured PostgreSQL. Could you please help me find what might be wrong in my setup?
Here is my configuration for Drupal 9. docker-compose.postgres.yaml:
...ANSWER
Answered 2022-Mar-14 at 00:27Update for DDEV v1.19+
- Postgres is now available of the box with DDEV, so there is no need for an additional service/container.
- You no longer have to use an explicit name for the container, since the networking in DDEV is now more sophisticated.
--------- Original Answer Below ----------
You're using $host = "postgres";
, please use the explicit name of the postgres container, ddev--postgres
The hostname postgres
is ambiguous inside the docker network when you're running more than one project that has a service named "postgres". So you're getting the behavior you see.
A PR to the ddev-contrib recipe would be appreciated; this has been updated in lots of the ddev-contrib recipes since the problem was discovered a year or so ago, but apparently not this one.
QUESTION
I am looking to setup Redis in my local dev environment, I am using DDEV in Laravel Projects.
I've followed the steps here to add redis to the project: https://github.com/drud/ddev-contrib/tree/master/docker-compose-services/redis
After a ddev restart
I can see Redis is getting pulled into the container however it instantly falls over which you can see from running a docker ps -a
.
Please would somebody be able to help with the correctly setting this up for a laravel project?
Just for reference I am on a MacbookAir 2021 BigSur M1 Chipset.
...ANSWER
Answered 2021-Mar-16 at 14:10To get this working locally:
I updated the docker-compose.redis.yaml
to the following:
QUESTION
I have a ddev running with TYPO3 and a hook, which copies an auth.json to ~/.composer/auth.json. If I use the following recipe ddev-contrib/…/cronjob from Github, only the hook from the config.cron.yml will be loaded.
How can I load both hooks.
Here is my code:
config.yaml
...ANSWER
Answered 2020-Jun-11 at 13:12Your post-start hooks from config.cron.yaml are overriding the post-start hooks provided in config.yaml, which is how it's intended to be.
You'll want to move the hooks (or maybe everything) from config.cron.yaml into config.yaml.
You can see what your final config.yaml looks like by using ddev debug configyaml
, which will show you what the final combined version looks like.
QUESTION
I'm facing some trouble when trying to start my ES containers on DDEV.
I've download the official dockerfile from drud repository and made some changes (Version,max nodes,etc) as you can see:
...ANSWER
Answered 2020-Mar-04 at 18:09you are getting this error
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ddev-contrib
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page