All described environment variables are displayed with their default values.
| Variable name | Default value |
|---|---|
| TZ | Europe/Berlin |
| Variable name | Default value |
|---|---|
| WEB_USER_UID | 1000 |
| WEB_USER_USERNAME | "netinventors" |
| WEB_USER_PASSWORD | "athene" |
The currently available PHP versions are:
| Variable name | Default value | Possible values |
|---|---|---|
| PHP_INI_SCAN_DIR | "/usr/local/etc/php/cli/conf.d" | |
| PHP_VERSION | 8.1 |
|
| ENABLE_XDEBUG | "true" |
|
| Variable name | Default value | Possible values |
|---|---|---|
| COMPOSER_HOME | /usr/local/share/composer | |
| COMPOSER_VERSION | 2 |
|
| UPDATE_COMPOSER | "false" |
|
| Variable name | Default value | Possible values |
|---|---|---|
| NODE_VERSION | 18.16.0 | |
| NPM_VERSION | 9.5.1 | |
| UPDATE_NODE | "false" |
|
| UPDATE_NPM | "false" |
|
| UPDATE_N | "false" |
|
If MYSQL_HOST is localhost or 127.0.0.1 a local MySQL server instance will be startet automatically.
| Variable name | Default value |
|---|---|
| MYSQL_HOST | "localhost" |
| MYSQL_PORT | "3306" |
| MYSQL_USER | "netinventors" |
| MYSQL_PASSWORD | "athene" |
| MYSQL_DATABASE | "app" |
| Location | Description |
|---|---|
| /usr/local/share/composer | Composer cache directory |
| /usr/local/etc/php/apache2/conf.d | Additional loaded PHP configuring *.ini files for the Apache |
| /usr/local/etc/php/cli/conf.d | Additional loaded PHP configuring *.ini files for the CLI |
| /usr/local/var/log | Directory where all the logs goes to |
| /usr/local/var/backup | Directory storing created snapshots |
Some mapped volumes will now locate in different places.
| Old location | New location |
|---|---|
| /certs | No longer required |
| /etc/ssl/openssl.cnf | No longer required |
| /etc/apache2/sites-enabled | No longer required |
| /home/netinventors/.composer | /usr/local/share/composer |
| /usr/local/etc/php/conf.d | /usr/local/etc/php/cli/conf.d |
| /var/log/app | /usr/local/var/log |
You can run different commands directly via task.
Executing task without an argument is an alias for task --list and shows the available commands.
| Command | Description |
|---|---|
| snapshot:list | Lists available snapshots |
| snapshot:create | Creates a snapshot Example: task snapshot:create -- "Comment" |
| snapshot:restore | Restores a snapshot Example: task snapshot:restore -- "810511133700" |
| snapshot:restore:files | Restores a snapshots files Example: task snapshot:restore:files -- "810511133700" |
| snapshot:restore:database | Restores a snapshots database Example: task snapshot:restore:database -- "810511133700" |
| snapshot:remove | Removes a snapshot Example: task snapshot:remove -- "810511133700" |
| snapshot:purge | Purges all snapshots |
Content type
Image
Digest
sha256:235a30be1…
Size
519.7 MB
Last updated
10 months ago
docker pull netinventors/php-base