mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +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
|
||||
|
||||
@@ -3,7 +3,7 @@ version: '3'
|
||||
services:
|
||||
php-cli:
|
||||
image: meritoo/common-library
|
||||
container_name: meritoo-common-library
|
||||
container_name: ${DOCKER_CONTAINER_PREFIX}
|
||||
working_dir: /project
|
||||
entrypoint: php
|
||||
command: -S 0.0.0.0:9999
|
||||
|
||||
Reference in New Issue
Block a user