(improvement)(build) Support passing the version as a variable in the docker-compose.yml file. (#1313)

This commit is contained in:
lexluo09
2024-07-01 17:13:05 +08:00
committed by GitHub
parent e6ec689cb1
commit d26eeb3367
2 changed files with 12 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ services:
- 8.8.4.4
db_init:
image: supersonicbi/supersonic:0.9.2-SNAPSHOT
image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest}
container_name: supersonic_db_init
depends_on:
- mysql
@@ -56,7 +56,7 @@ services:
- 8.8.4.4
supersonic_standalone:
image: supersonicbi/supersonic:0.9.2-SNAPSHOT
image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest}
container_name: supersonic_standalone
environment:
DB_HOST: supersonic_mysql