File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ # Settings: TYPO3 CMS
12DOCUMENT_ROOT=code/
23DOCUMENT_INDEX=index.php
4+ CLI_SCRIPT=php typo3/cli_dispatch.phpsh
35
6+ # Settings: NEOS or FLOW
7+ # DOCUMENT_ROOT=code/Web/
8+ # DOCUMENT_INDEX=index.php
9+ # CLI_SCRIPT=php flow
10+
11+ # Settings: SYMFONY FRAMEWORK
12+ # DOCUMENT_ROOT=code/web/
13+ # DOCUMENT_INDEX=app_dev.php
14+ # CLI_SCRIPT=php app/console
15+
16+ # Contexts environment
417TYPO3_CONTEXT=Development/Docker
518FLOW_CONTEXT=Development/Docker
619FLOW_REWRITEURLS=1
20+ SYMFONY_ENV=dev
21+ SYMFONY_DEBUG=0
722
23+ # Service settings
824MAIL_GATEWAY=192.168.56.2
925DNS_DOMAIN=vm vm.dev
1026
27+ # MySQL settings
1128MYSQL_ROOT_PASSWORD=dev
1229MYSQL_USER=dev
1330MYSQL_PASSWORD=dev
1431MYSQL_DATABASE=typo3
1532
33+ # PHP Settings
1634PHP_TIMEZONE=UTC
1735PHP_UID=1000
1836PHP_GID=1000
Original file line number Diff line number Diff line change @@ -44,6 +44,17 @@ case "$1" in
4444 fi
4545 ;;
4646
47+ # # Defined cli script
48+ cli)
49+ if [ -n " ${CLI_SCRIPT} " ]; then
50+ shift
51+ exec ${CLI_SCRIPT} " $@ "
52+ else
53+ echo " [ERROR] No CLI_SCRIPT in docker-env.yml defined"
54+ exit 1
55+ fi
56+ ;;
57+
4758 # # All other commands
4859 * )
4960 # # Set home dir (workaround)
You can’t perform that action at this time.
0 commit comments