Update build to AMD64 only and add docker-compose.dev.yml for ARM64
Build and Push Multi-Platform Images / build-and-push (push) Has been cancelled
Build and Push Multi-Platform Images / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -12,9 +12,6 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
@@ -29,7 +26,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./paperless-backend
|
context: ./paperless-backend
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.poettker-cloud.de/bjoernpoettker/paperlessmanager-backend:latest
|
tags: gitea.poettker-cloud.de/bjoernpoettker/paperlessmanager-backend:latest
|
||||||
|
|
||||||
@@ -37,6 +34,6 @@ jobs:
|
|||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: ./paperless-frontend
|
context: ./paperless-frontend
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.poettker-cloud.de/bjoernpoettker/paperlessmanager-frontend:latest
|
tags: gitea.poettker-cloud.de/bjoernpoettker/paperlessmanager-frontend:latest
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
services:
|
||||||
|
# ─── Backend (NestJS) ──────────────────────────────────────
|
||||||
|
backend:
|
||||||
|
platform: linux/arm64/v8
|
||||||
|
build:
|
||||||
|
context: ./paperless-backend
|
||||||
|
container_name: paperless-backend-dev
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "${BACKEND_PORT:-3100}:3100"
|
||||||
|
env_file: .env
|
||||||
|
volumes:
|
||||||
|
- ./paperless-backend/src:/app/src
|
||||||
|
- /tmp/omv-scans:/mnt/scans
|
||||||
|
- /tmp/omv-paperlessmanager:/mnt/data
|
||||||
|
networks:
|
||||||
|
- paperless-net
|
||||||
|
|
||||||
|
# ─── Frontend (React + nginx) ──────────────────────────────
|
||||||
|
frontend:
|
||||||
|
platform: linux/arm64/v8
|
||||||
|
build:
|
||||||
|
context: ./paperless-frontend
|
||||||
|
container_name: paperless-frontend-dev
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "${FRONTEND_PORT:-8080}:80"
|
||||||
|
env_file: .env
|
||||||
|
networks:
|
||||||
|
- paperless-net
|
||||||
|
|
||||||
|
networks:
|
||||||
|
paperless-net:
|
||||||
|
driver: bridge
|
||||||
Reference in New Issue
Block a user