Passing WP_ENVIRONMENT_TYPE not working #871
ashishjullia
started this conversation in
General
Replies: 2 comments 1 reply
-
I have the exact same problem. Unable to set WP_ENVIRONMENT_TYPE to "staging". Is there any workaround? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You have to use ’WORDPRESS_CONFIG_EXTRA’ for this. Here's an example: https://devtidbits.com/2019/11/02/customise-wordpress-on-docker/#wordpress-configurations--wp-configphp |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used the following
docker-compose.yml
:But still getting this:

I looked here for the reference:
Also, I removed the volumes and then used new ones but the issue same issue. I even tried using
staging
, still same.Am I missing something here?
Beta Was this translation helpful? Give feedback.
All reactions