删除环境变量,操作繁琐
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
x-env:
|
x-env:
|
||||||
&template
|
&template
|
||||||
# 可以在项目中创建.env文件,在其中定义TAG的值,使用以下命令在启动时替代默认的TAG
|
image: fcb_photo_review:1.13.9
|
||||||
# docker-compose --env-file .env up -d
|
|
||||||
image: fcb_photo_review:${TAG:-1.13.9}
|
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|||||||
Reference in New Issue
Block a user