docker-compose.yml
version: "3.4"
services:
ci:
build:
context: .
target: ci
command: [composer, ci]
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_LOGS_BUCKET
- AZURE_ABS_CONNECTION_STRING
- AZURE_ABS_CONTAINER
dev:
build:
context: .
target: dev
args:
PHP_VERSION: 8.0
volumes:
- ./:/code
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_DEFAULT_REGION
- AWS_S3_LOGS_BUCKET
- AZURE_ABS_CONNECTION_STRING
- AZURE_ABS_CONTAINER