Environment Variables

Here is a full list of all available environment variables.

APACHE_DOCROOT

Sets the default DocRoot of Apache

DOCKWARE_CI

If you run containers with DOCKWARE_CI=1 the containers will automatically quit after running your command. Use this if you use dockware as command runner in your CI/CD system. Please note, your containers should automatically exit once a custom command is provided. This is just fa fallback if they do not exit as expected.

NODE_VERSION

Switch to a different Node version (12 | 14 | 16)

PHP_VERSION

Switch to any of the installed PHP versions: 8.0, 7.4, 7.3, 7.2

RECOVERY_MODE

If enabled, nothing will be done in the entrypoint when booting dockware. This allows you to access the container on problems.

TZ

Provide a custom timezone for the container

This one is used for the operating system, but also for the corresponding PHP configuration.

Users

Feature

Variable

Default

Description

SSH USERS

SSH_USER

not-set

Name of the optional new SSH user that replaces the existing one from dockware

SSH_PWD

not-set

Password of the optional new SSH user that replaces the existing one from dockware

MYSQL USERS

MYSQL_USER

not-set

Optional variable to create a separate MySQL user. This is the name of the user.

MYSQL_PWD

not-set

Optional variable to create a separate MySQL user. This is the password of the user.

Debugging

Feature

Variable

Default

Description

XDEBUG

XDEBUG_ENABLED

0

Enable or disable XDebug with either 1 or 0 as value.

XDEBUG_REMOTE_HOST

host.docker.internal

Use default value for MAC + Windows, and 172.17.0.1 for Linux

XDEBUG_CONFIG

idekey=PHPSTORM

IDE Key identifier for XDebug

PHP_IDE_CONFIG

serverName=localhost

used for the serverName export for XDebug usage on CLI

TIDEWAYS

TIDEWAYS_KEY

not-set

API Key of the Tideways project

TIDEWAYS_ENV

production

Optional identifier of the environment

TIDEWAYS_SERVICE

web

Optional identifier of the service

FILEBEAT

FILEBEAT_ENABLED

0

Activates the Filebeat daemon service (value 1). For this please provide a manual filebeat.yml for the container. You can do this with bind-mounting.

Last updated

Was this helpful?