From 6c2ca2d9a150bbb5e2bdf1aee97eaced80463f99 Mon Sep 17 00:00:00 2001 From: MatthieuCoder Date: Sun, 15 Jan 2023 19:47:03 +0400 Subject: [PATCH] add muliti arch --- docker-compose.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index ac1fb12..04ec54d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -18,6 +18,10 @@ services: restart: always build: context: . + x-bake: + platforms: + - linux/amd64 + - linux/arm64 args: - COMPONENT=cache volumes: @@ -36,6 +40,10 @@ services: context: . args: - COMPONENT=gateway + x-bake: + platforms: + - linux/amd64 + - linux/arm64 volumes: - ./config/default.yml:/config/default.yml environment: @@ -51,6 +59,10 @@ services: context: . args: - COMPONENT=rest + x-bake: + platforms: + - linux/amd64 + - linux/arm64 volumes: - ./config/default.yml:/config/default.yml environment: @@ -70,6 +82,10 @@ services: args: - RUST_LOG=debug - COMPONENT=webhook + x-bake: + platforms: + - linux/amd64 + - linux/arm64 volumes: - ./config/default.yml:/config/default.yml environment: @@ -87,6 +103,10 @@ services: context: . args: - COMPONENT=ratelimit + x-bake: + platforms: + - linux/amd64 + - linux/arm64 volumes: - ./config/default.yml:/config/default.yml environment: -- 2.39.5