mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
23 lines
715 B
YAML
23 lines
715 B
YAML
version: '3'
|
|
|
|
services:
|
|
php-cli:
|
|
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php-cli
|
|
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-php-cli
|
|
working_dir: /project
|
|
entrypoint: php
|
|
command: -S 0.0.0.0:9999
|
|
build:
|
|
context: ./docker/config
|
|
args:
|
|
- TIMEZONE=$TIMEZONE
|
|
volumes:
|
|
- .:/project
|
|
composer:
|
|
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php-cli
|
|
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-composer
|
|
working_dir: /project
|
|
entrypoint: composer
|
|
volumes:
|
|
- .:/project
|