Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for WP_ENVIRONMENT_TYPE #733

Closed
pfefferle opened this issue Jul 11, 2022 · 1 comment
Closed

Add support for WP_ENVIRONMENT_TYPE #733

pfefferle opened this issue Jul 11, 2022 · 1 comment

Comments

@pfefferle
Copy link

WordPress does support environment types since version 5.5 https://developer.wordpress.org/reference/functions/wp_get_environment_type/

It would be nice to add support for WP_ENVIRONMENT_TYPE as environment variable.

@pfefferle pfefferle changed the title Add support for WP_ENVIRONMENT_TYPES Add support for WP_ENVIRONMENT_TYPE Jul 11, 2022
@pfefferle
Copy link
Author

It is already possible using:

version: '3'
services:
  wordpress:
    image: wordpress:latest
    environment:
      WP_ENVIRONMENT_TYPE: development

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant