Skip to content

Commit

Permalink
(improvement)(chat) Specify platform in docker-compose.yml. (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexluo09 committed Jul 16, 2024
1 parent ff38a6d commit 1b37925
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
chroma:
image: chromadb/chroma:0.5.3
platform: linux/amd64
container_name: supersonic_chroma
ports:
- "8000:8000"
Expand All @@ -20,6 +21,7 @@ services:

mysql:
image: mysql:8.0
platform: linux/amd64
container_name: supersonic_mysql
environment:
LANG: 'C.UTF-8' # 设置环境变量
Expand Down Expand Up @@ -48,6 +50,7 @@ services:

db_init:
image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest}
platform: linux/amd64
container_name: supersonic_db_init
depends_on:
mysql:
Expand All @@ -71,6 +74,7 @@ services:

supersonic_standalone:
image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest}
platform: linux/amd64
container_name: supersonic_standalone
environment:
DB_HOST: supersonic_mysql
Expand Down

0 comments on commit 1b37925

Please sign in to comment.