diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 19:47:03 +0400 |
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-15 19:47:03 +0400 |
| commit | 6c2ca2d9a150bbb5e2bdf1aee97eaced80463f99 (patch) | |
| tree | 75080929f93ad8f8bc9ce731947717ded7bfec11 | |
| parent | 482a11bb3f97b934f6b1db03c507095691f11e50 (diff) | |
add muliti arch
| -rw-r--r-- | docker-compose.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
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: |
