mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 09:31:51 +01:00
Docker - name of containers - use custom prefix
This commit is contained in:
13
.env.dist
13
.env.dist
@@ -1 +1,14 @@
|
|||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
# Docker
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#
|
||||||
|
# All containers
|
||||||
|
#
|
||||||
|
DOCKER_CONTAINER_PREFIX=__ENTER__CONTAINER__PREFIX__
|
||||||
|
|
||||||
|
#
|
||||||
|
# PHP configuration:
|
||||||
|
# - timezone
|
||||||
|
#
|
||||||
TIMEZONE=Europe/Warsaw
|
TIMEZONE=Europe/Warsaw
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ version: '3'
|
|||||||
services:
|
services:
|
||||||
php-cli:
|
php-cli:
|
||||||
image: meritoo/common-library
|
image: meritoo/common-library
|
||||||
container_name: meritoo-common-library
|
container_name: ${DOCKER_CONTAINER_PREFIX}
|
||||||
working_dir: /project
|
working_dir: /project
|
||||||
entrypoint: php
|
entrypoint: php
|
||||||
command: -S 0.0.0.0:9999
|
command: -S 0.0.0.0:9999
|
||||||
|
|||||||
Reference in New Issue
Block a user