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
Hi :)
First I want to say that I am absolutely loving all the containers and that you've done a wonderful job.
And second - to the question:
I want to use the wodby/nginx:1.17-5.6.8 but I want to additionally install yarn there so I thought I could use it and just extend it.
So this is what I did:
docker-compose.yml:
using directly the image, without re-building - it of course works.
Would you please advise me on how could I both extend, and re-use the wonderful Environment Variables of this project?
Cheers and have a nice day,
Nikolay
The text was updated successfully, but these errors were encountered:
Hi, this is a generic question about how docker-compose works and has nothing to do with this image and therefore should better be asked on StackOverflow. With that being said please see notes in the documentation on environment in docker-compose https://docs.docker.com/compose/compose-file/#environment
Hi :)
First I want to say that I am absolutely loving all the containers and that you've done a wonderful job.
And second - to the question:
I want to use the wodby/nginx:1.17-5.6.8 but I want to additionally install yarn there so I thought I could use it and just extend it.
So this is what I did:
docker-compose.yml:
nginx/Dockerfile:
I also have a .env file of course with the PROJECT_NAME, PROJECT_BASE_URL values.
The thig is that when I am doing it so - it builds, but the environment variable NGINX_SERVER_ROOT does not get recognized.
on the other hand if I am not extending it, but simply am doing
using directly the image, without re-building - it of course works.
Would you please advise me on how could I both extend, and re-use the wonderful Environment Variables of this project?
Cheers and have a nice day,
Nikolay
The text was updated successfully, but these errors were encountered: