Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
53a5d87
feat: initialize typo3 template
thucke Mar 3, 2026
285e2e1
chore: added file
thucke Mar 3, 2026
46a1cb7
feat: added typo3 template
thucke Mar 11, 2026
bd8e3f2
Merge branch 'main' into typo3-frankenphp
thucke Mar 11, 2026
951d8b4
chore: fix tests & remove color template
thucke Mar 11, 2026
d0e4033
chore: force ci in for typo3
thucke Mar 11, 2026
a561844
Merge remote-tracking branch 'origin/main' into typo3-frankenphp
thucke Mar 14, 2026
84ae622
chore: test login to registry before
thucke Mar 14, 2026
cf449d0
chore: added env in workflow
thucke Mar 14, 2026
1c7564d
chore: reactivated GITHUB_TOKEN in workflow
thucke Mar 14, 2026
c89032c
chore: cleanup test additions in action
thucke Mar 14, 2026
4e43d40
chore: fixed tests for typo3
thucke Mar 21, 2026
199badd
chore: fixed tests for typo3
thucke Mar 21, 2026
6918632
fix: adjusted db container timing
thucke Mar 21, 2026
5808b7a
docs: refactor begin
thucke Mar 22, 2026
d9a0459
docs: NOTES.md
thucke Mar 26, 2026
0b854af
docs: NOTES.md
thucke Mar 26, 2026
707e5c8
chore: raised typo3 template version
thucke Mar 26, 2026
bed2917
Merge branch 'main' into typo3-frankenphp
thucke Mar 26, 2026
7e5305b
Merge remote-tracking branch 'origin/main' into typo3-frankenphp
thucke Mar 27, 2026
b631259
fix: conditionals in postCreateCommandscript.sh and others
thucke Mar 27, 2026
690b86f
fix: other conditionals
thucke Mar 27, 2026
a2671aa
fix: setting correct COMPOSE_PROFILES
thucke Mar 27, 2026
eda2b3f
fix: no permission on test cleanup
thucke Mar 27, 2026
f6e43fe
feat: choose database type via template
thucke Mar 28, 2026
fed0779
Merge remote-tracking branch 'origin/main' into typo3-frankenphp
thucke Apr 1, 2026
32effae
chore: finalize for 0.3.0
thucke Apr 1, 2026
e320348
Merge branch 'main' into typo3-frankenphp
thucke Apr 1, 2026
0c5a4a0
Merge remote-tracking branch 'origin/main' into typo3-frankenphp
thucke Apr 1, 2026
d43c5fe
docs: update some doc info
thucke Apr 7, 2026
6e61960
chore: fix scripts
thucke Apr 7, 2026
99f9c7f
chore: add TYPO3.env to .gitignore
thucke Apr 7, 2026
526f7c5
chore: fix parseDotEnv.sh
thucke Apr 7, 2026
221a541
chore: fix TYPO3 initialization
thucke Apr 7, 2026
6ae856d
chore: template 2be validated with introduction extension
thucke Apr 8, 2026
55d8784
Merge branch 'main' into typo3-frankenphp
thucke Apr 8, 2026
787ee6b
chore: hopefully last fixes for test with introduction extension
thucke Apr 8, 2026
95fd21a
Merge branch 'main' into typo3-frankenphp
thucke Apr 8, 2026
39fef6e
chore: wtf - another file
thucke Apr 8, 2026
2845773
chore: wtf - another fix
thucke Apr 8, 2026
2ac4a2d
chore: formatting fix
thucke Apr 8, 2026
04d2b75
Merge remote-tracking branch 'origin/main' into typo3-frankenphp
thucke Apr 8, 2026
2d68ccd
docs: updated docs
thucke Apr 8, 2026
b42edd1
feat: sqlite database backend
thucke Apr 8, 2026
f37a8f6
Merge branch 'main' into typo3-frankenphp
thucke Apr 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion src/typo3/.devcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ Homepage: [Github](https://github.com/thucke/devcontainer-templates/tree/main/sr
* Homedirectory: `/home/typo3dev`
* SUDO-command: *passwordless for any command*
* Git-Repository: checked out to `${WORKSPACE_ROOT}`

## TYPO3 WebUI

URL: [Frontend](http://127.0.0.1)

First calls to TYPO3 my result to exceptions in the file `.build/vendor/scssphp/scssphp/src/Compiler.php`. I don't have an idea about the reason but they will disappear after one or two refreshes.

## Re-Initialize TYPO3 environment

Expand All @@ -21,10 +27,26 @@ Homepage: [Github](https://github.com/thucke/devcontainer-templates/tree/main/sr

If you want to update the devcontainer configuration e.g. after a new template version has been published you can make use of the [Dev Container CLI](https://github.com/devcontainers/cli) with the following command (**make sure you're in the root directory of your repository**):

devcontainer templates apply --template-id ghcr.io/thucke/devcontainer-templates/typo3 --template-args "{\"database\": \"mysql\"}" -w .
devcontainer templates apply --template-id ghcr.io/thucke/devcontainer-templates/typo3 --template-args "{\"database\": \"mysql\", \"phpVersion\": \"8.4\"}" -w .

Valid values:
* `database`: `mysql` || `sqlite`
* `phpVersion`: `8.2` || `8.3` || `8.4` || `8.5`

## TYPO3 environment configuration

You may modify the file `${WORKSPACE_ROOT}/.devcontainer/.env` with caution if you want to adjust some core TYPO3 settings. After this file has been modified it is recommended to rebuild the whole devcontainer.

**In this file you can find the password of the database root as well as the TYPO3 backend user credentials.**

## Database connection (Default settings)

### `mysql`

You may prefer to use a db client extension of your IDE or the preinstalled adminer web UI that can be reached out with [this link](http://127.0.0.1:8080) after all containers started successfully.

* Host: `127.0.0.1`
* Port: `3306`
* Database: `db`
* Username: `root`
* Password: `dbroot`
2 changes: 1 addition & 1 deletion src/typo3/.devcontainer/docker/igniteEnvironment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if [ "${TYPO3_INSTALL_DB_DRIVER}" == "mysqli" ]; then
mysql -h${TYPO3_INSTALL_DB_HOST} -P${TYPO3_INSTALL_DB_PORT} -u${TYPO3_INSTALL_DB_USER} -p${TYPO3_INSTALL_DB_PASSWORD} -v ${TYPO3_INSTALL_DB_DBNAME}

mysql -h${TYPO3_INSTALL_DB_HOST} -P${TYPO3_INSTALL_DB_PORT} -u${TYPO3_INSTALL_DB_USER} -p${TYPO3_INSTALL_DB_PASSWORD} --init-command='USE '${TYPO3_INSTALL_DB_DBNAME} < .devcontainer/docker/db/initdb/2_create_procedure.sql
elif [ "${TYPO3_INSTALL_DB_DRIVER}" == "pdo_sqlite" ] && [ -f ${SQLITE_DBFILE_PATH} ]; then
elif [ "${TYPO3_INSTALL_DB_DRIVER}" == "sqlite" ] && [ -f ${SQLITE_DBFILE_PATH} ]; then
echo "Using SQLite as database - resetting database"
rm -fv ${SQLITE_DBFILE_PATH}
fi
Expand Down
6 changes: 3 additions & 3 deletions src/typo3/.devcontainer/docker/initializeTYPO3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ fi

# take care of file ownership esp. to support cross container functionality
echo "initializeTYPO3: Update file and directory ownership"
chown -R ${DEVCONTAINER_SERVICE_NAME}:${DEVCONTAINER_SERVICE_NAME} config .build var
chgrp ${DEVCONTAINER_SERVICE_NAME} ${WORKSPACE_ROOT}
sudo chown -R ${DEVCONTAINER_SERVICE_NAME}:${DEVCONTAINER_SERVICE_NAME} config .build var
sudo chgrp ${DEVCONTAINER_SERVICE_NAME} ${WORKSPACE_ROOT}

# needed as directory check moans about wrong permissions
echo "initializeTYPO3: Update file permissions"
chmod -R 2770 .build config var
sudo chmod -R 2770 .build config var

echo "initializeTYPO3.sh: Running composer up"
composer up
Expand Down
2 changes: 1 addition & 1 deletion src/typo3/.devcontainer/docker/parseDotEnv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ ${DB_SERVER_TYPE} =~ (mysql|mariadb) ]]; then
export TYPO3_INSTALL_DB_DRIVER="mysqli"
export TYPO3_INSTALL_DB_DBNAME="${MYSQLI_DBNAME}"
elif [ "${DB_SERVER_TYPE}" == "sqlite" ]; then
export TYPO3_INSTALL_DB_DRIVER="pdo_sqlite"
export TYPO3_INSTALL_DB_DRIVER="sqlite"
export TYPO3_INSTALL_DB_DBNAME="${SQLITE_DBFILE_PATH}"
fi

Expand Down
2 changes: 1 addition & 1 deletion src/typo3/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "typo3",
"version": "0.3.3",
"version": "0.4.0",
"name": "Typo3",
"description": "A template to support remote development with TYPO3.",
"documentationURL": "https://github.com/thucke/devcontainer-templates/tree/main/src/typo3",
Expand Down
Loading