switch away from registry usage for docker builds

This commit is contained in:
Codex Agent
2025-12-21 19:11:01 +01:00
parent 6ee40745ca
commit 41d29eb7d3
2 changed files with 15 additions and 8 deletions

View File

@@ -45,14 +45,14 @@ x-app-build: &app-build
PHP_VERSION: ${PHP_VERSION:-8.3}
NODE_VERSION: ${NODE_VERSION:-22}
cache_from:
- type=registry,ref=${APP_IMAGE_CACHE:-fotospiel-app:buildcache}
- type=local,src=${BUILD_CACHE_DIR:-/var/lib/fotospiel-buildcache}
cache_to:
- type=registry,ref=${APP_IMAGE_CACHE:-fotospiel-app:buildcache},mode=max
- type=local,dest=${BUILD_CACHE_DIR:-/var/lib/fotospiel-buildcache},mode=max
services:
app:
build: *app-build
image: registry.internal:5443/${APP_IMAGE:-fotospiel-app:latest}
image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest}
env_file:
- path: .env
environment:
@@ -140,7 +140,7 @@ services:
photobooth-ftp:
build:
context: ./docker/photobooth-control
image: registry.internal:5443/${PHOTOBOOTH_CONTROL_IMAGE:-fotospiel-photobooth-control:latest}
image: ${PHOTOBOOTH_CONTROL_IMAGE_REPO:-fotospiel-photobooth-control}:${PHOTOBOOTH_CONTROL_IMAGE_TAG:-latest}
env_file:
- path: .env
environment:
@@ -173,7 +173,7 @@ services:
restart: unless-stopped
queue:
image: registry.internal:5443/${APP_IMAGE:-fotospiel-app:latest}
image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest}
env_file:
- path: .env
command: /var/www/html/scripts/queue-worker.sh default
@@ -195,7 +195,7 @@ services:
restart: unless-stopped
media-storage-worker:
image: registry.internal:5443/${APP_IMAGE:-fotospiel-app:latest}
image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest}
env_file:
- path: .env
command: /var/www/html/scripts/queue-worker.sh media-storage
@@ -219,7 +219,7 @@ services:
restart: unless-stopped
scheduler:
image: registry.internal:5443/${APP_IMAGE:-fotospiel-app:latest}
image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest}
env_file:
- path: .env
command: php artisan schedule:work
@@ -240,7 +240,7 @@ services:
restart: unless-stopped
horizon:
image: registry.internal:5443/${APP_IMAGE:-fotospiel-app:latest}
image: ${APP_IMAGE_REPO:-fotospiel-app}:${APP_IMAGE_TAG:-latest}
env_file:
- path: .env
command: /var/www/html/scripts/horizon.sh