add muliti arch
This commit is contained in:
parent
482a11bb3f
commit
6c2ca2d9a1
|
@ -18,6 +18,10 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
x-bake:
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
args:
|
args:
|
||||||
- COMPONENT=cache
|
- COMPONENT=cache
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -36,6 +40,10 @@ services:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- COMPONENT=gateway
|
- COMPONENT=gateway
|
||||||
|
x-bake:
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/default.yml:/config/default.yml
|
- ./config/default.yml:/config/default.yml
|
||||||
environment:
|
environment:
|
||||||
|
@ -51,6 +59,10 @@ services:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- COMPONENT=rest
|
- COMPONENT=rest
|
||||||
|
x-bake:
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/default.yml:/config/default.yml
|
- ./config/default.yml:/config/default.yml
|
||||||
environment:
|
environment:
|
||||||
|
@ -70,6 +82,10 @@ services:
|
||||||
args:
|
args:
|
||||||
- RUST_LOG=debug
|
- RUST_LOG=debug
|
||||||
- COMPONENT=webhook
|
- COMPONENT=webhook
|
||||||
|
x-bake:
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/default.yml:/config/default.yml
|
- ./config/default.yml:/config/default.yml
|
||||||
environment:
|
environment:
|
||||||
|
@ -87,6 +103,10 @@ services:
|
||||||
context: .
|
context: .
|
||||||
args:
|
args:
|
||||||
- COMPONENT=ratelimit
|
- COMPONENT=ratelimit
|
||||||
|
x-bake:
|
||||||
|
platforms:
|
||||||
|
- linux/amd64
|
||||||
|
- linux/arm64
|
||||||
volumes:
|
volumes:
|
||||||
- ./config/default.yml:/config/default.yml
|
- ./config/default.yml:/config/default.yml
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue