mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
21 lines
693 B
YAML
21 lines
693 B
YAML
version: '3'
|
|
|
|
services:
|
|
php:
|
|
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php
|
|
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-php
|
|
entrypoint: php
|
|
command: -S 0.0.0.0:9999
|
|
build:
|
|
context: ./docker/config
|
|
args:
|
|
- TIMEZONE=${TIMEZONE}
|
|
volumes:
|
|
- .:/project:cached
|
|
composer:
|
|
image: ${DOCKER_CONTAINER_OWNER}/${DOCKER_CONTAINER_PROJECT}-php
|
|
container_name: ${DOCKER_CONTAINER_OWNER}-${DOCKER_CONTAINER_PROJECT}-composer
|
|
entrypoint: php -d memory_limit=-1 /usr/local/bin/composer
|
|
volumes:
|
|
- .:/project:cached
|