Docker Tutorial 4: How to pass environment variables to a Node.js API from a Docker container?

Docker Tutorial 4: How to pass environment variables to a Node.js API from a Docker container?

Prograamer

1 год назад

3,246 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@al-doori2392
@al-doori2392 - 01.12.2023 14:51

It would be good if you showed your dockerfile..

Thanks

Ответить
@grbak
@grbak - 17.11.2023 01:51

Thank you very much! Your solution has solved my problem easily

Ответить
@hari7priya
@hari7priya - 30.10.2023 07:31

env values are set in task definition of ECS. printenv shows all the variables set. but process.env.NEXT_PUBLIC_VAR_NAME is undefined

Ответить
@kanishmalviya
@kanishmalviya - 25.07.2023 09:09

If i create build using webpack and then do the docker stuff like build and run, in that case while running docker container, env are not required ?

Ответить
@ducvo8771
@ducvo8771 - 03.07.2023 19:58

Tks

Ответить