You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make Magento 2 configuration the default (~/nginx/magento2.flag) #52
I catch myself regularly forgetting to set the magento2.flag. I'd like to suggest to make M2 the default config since M1 is deprecated a while. So default would be M2. And if someone needs M1 they can make magento1.flag :)
we'll update that soon, touching the /data/web/nginx/magento2.flag flag by default sounds like a good idea. in the mean time you could write your own Dockerfile that uses the image and touches that file right?
Activity
vdloo commentedon Aug 19, 2021
we'll update that soon, touching the /data/web/nginx/magento2.flag flag by default sounds like a good idea. in the mean time you could write your own Dockerfile that uses the image and touches that file right?
edit: for reference, here's where the magento2.flag magic happens https://github.com/ByteInternet/nginx_config_reloader/blob/ee7b984507089fe0f67bb7a6d1e7f260a9a61d3f/nginx_config_reloader/__init__.py#L100
Aquive commentedon Aug 19, 2021
I don't have experience editing or making custom docker files (yet). Just using the stock image :)
Do you have a guide for this on de Hypernode docs? If not, I'll just wait. It certainly isn't a showstopper.
vdloo commentedon Aug 23, 2021
Here's a very basic example:
now when you log in to the container with SSH you'll see your Dockerfile's changes reflected in the container: