printshopcreator/.docker/docker-compose/docker-compose.local.prod.yml
Thomas 197b387006
All checks were successful
Gitea Actions / Run-Tests-On-Arm64 (push) Successful in 5m33s
Gitea Actions / Run-Tests-On-Amd64 (push) Successful in 14m29s
Fixes
2025-03-07 21:18:30 +01:00

47 lines
1.4 KiB
YAML

version: '3.7'
services:
php-fpm:
image: ${DOCKER_REGISTRY?}/${DOCKER_NAMESPACE?}/php-fpm-${ENV?}:${TAG?}
environment:
- APP_ENV=prod
build:
context: ../
# platforms:
# - "linux/amd64"
# - "linux/arm64"
dockerfile: ./images/php/fpm/Dockerfile
target: ${ENV?}
args:
- BASE_IMAGE=${DOCKER_REGISTRY?}/${DOCKER_NAMESPACE?}/php-base-${ENV?}:${TAG?}
- TARGET_PHP_VERSION=${PHP_VERSION?}
php-cron:
image: ${DOCKER_REGISTRY?}/${DOCKER_NAMESPACE?}/php-cron-${ENV?}:${TAG?}
environment:
- APP_ENV=prod
build:
context: ../
# platforms:
# - "linux/amd64"
# - "linux/arm64"
dockerfile: ./images/php/cron/Dockerfile
target: ${ENV?}
args:
- BASE_IMAGE=${DOCKER_REGISTRY?}/${DOCKER_NAMESPACE?}/php-base-${ENV?}:${TAG?}
- TARGET_PHP_VERSION=${PHP_VERSION?}
web:
image: ${DOCKER_REGISTRY?}/${DOCKER_NAMESPACE?}/web-${ENV?}:${TAG?}
environment:
- APP_ENV=prod
build:
context: ../../
# platforms:
# - "linux/amd64"
# - "linux/arm64"
dockerfile: ./.docker/images/nginx/Dockerfile
target: ${ENV?}
args:
- NGINX_VERSION=${NGINX_VERSION?}
- APP_CODE_PATH=${APP_CODE_PATH_CONTAINER?}