docker als Multiplattform erzeugen

This commit is contained in:
rxf
2026-03-02 16:02:14 +01:00
parent 7a2457daf1
commit 6e82e7474d
4 changed files with 47 additions and 19 deletions

View File

@@ -3,6 +3,9 @@ services:
werte-app:
build:
context: .
platforms:
- linux/amd64
- linux/arm64
args:
BUILD_DATE: ${BUILD_DATE:-$(date +%d.%m.%Y)}
container_name: werte-next-app
@@ -15,3 +18,12 @@ services:
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
- DB_NAME=${DB_NAME}
- AUTH_USERS=${AUTH_USERS}
- AUTH_SECRET=${AUTH_SECRET}
networks:
- sternwarte_default
networks:
sternwarte_default:
external: true