]> git.puffer.fish Git - matthieu/nova.git/commitdiff
add muliti arch
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Sun, 15 Jan 2023 15:47:03 +0000 (19:47 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Sun, 15 Jan 2023 15:47:03 +0000 (19:47 +0400)
docker-compose.yaml

index ac1fb12b4c53899c8b5d09fe8cb4e8c28cfb65d3..04ec54db137f5b03cd1d3aeabdd1cdecb38024a4 100644 (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: