printshopcreator/.docker/docker-compose/docker-compose.local.prod.yml
Thomas Peterson 882d398279
Some checks failed
Gitea Actions / Merge (push) Waiting to run
Gitea Actions / Run-Tests-On-Arm64 (push) Successful in 10m50s
Gitea Actions / Run-Tests-On-Amd64 (push) Has been cancelled
Fixes
2025-05-27 14:29:11 +02: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?}