add muliti arch

This commit is contained in:
MatthieuCoder 2023-01-15 19:47:03 +04:00
parent 482a11bb3f
commit 6c2ca2d9a1

View file

@ -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: