英文:
What are these variables inside a docker compose file?
问题
Sure, here are the translations of the variables in your provided text:
${LOCALSTACK_DOCKER_NAME-localstack_main}
:${LOCALSTACK_DOCKER_NAME-localstack_main}
${DEBUG-}
:${DEBUG-}
${LOCALSTACK_VOLUME_DIR:-./volume}
:${LOCALSTACK_VOLUME_DIR:-./volume}
I hope this helps!
英文:
Given this docker compose file taken straight out of the localstack documentation, what are these variables?
${LOCALSTACK_DOCKER_NAME-localstack_main}
${DEBUG-}
${LOCALSTACK_VOLUME_DIR:-./volume}
Like .. are these setup outside of this file, somewhere?
I'm not interested in what they represent .. just where the values are set and get replaced/substituted into/from.
cheers!
答案1
得分: 0
这些是环境变量。
您可以以许多不同的方式设置它们,这取决于操作系统。
英文:
These are environment variables.
You can set them in many different ways and it depends on the operating system.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论