我有一个 docker compose 文件,其中包含 2 个专有配置文件local和dev,我们使用它进行本地测试并拉下开发环境进行调试。
有没有一种方法可以默认为,local以便我们可以docker-compose build在不指定的情况下使用--profile,并且 docker 将默认为local?
我使用 pip 3.9/python 3.9 因为pyrebase4 不适用于 python 3.10.5/pip3 这是错误:
--- Logging error ---
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 177, in emit
self.console.print(renderable, overflow="ignore", crop=False, style=style)
...
"/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_internal/utils/logging.py", line 179, in emit
self.handleError(record)
Message: '[present-rich] %s'
Arguments: (UpgradePrompt(old='22.1.2', new='22.2'),)
Run Code Online (Sandbox Code Playgroud)