-
Task
-
Resolution: Won't Do
-
Could have
-
None
-
None
-
2
-
Dev Tools
-
Sprint #153, Sprint #154, Sprint #155
Currently the local environment for development in the `docker-compose` repo is a complete stack of P4 tools. Initialization sometimes takes quite long (screenshot attached from an i7 - 16gb Macbook Pro with SSD).
Most of the times we don't need all the containers running (in my case, I wouldn't even use PHPMyAdmin that much). So we could have a minimalistic setup and spin up containers as needed.
Currently the containers are:
- elastichq_1
- db_1
- traefik_1
- selenium_1
- elasticsearch_1
- redis_1
- php-fpm_1
- phpmyadmin_1
- openresty_1
We can probably set up a minimalistic version of that for the local environment. Possibly starting from php-fpm and db.
Question: Do we actually need OpenResty and Traefik for a local environment?
Tasks:
- review containers for memory/cpu usage (and necessity), see if it's worth making an even simpler version than Nikos' here: https://support.greenpeace.org/planet4/development/installation#lightweight-configuration