This is wordpress application and also already including database credentials location is /var/www/wordpress/wp-config.php file And you can use db credentials using 'env varibale' and 'sed' command .
$ cat wp-config.php
// ** Database settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define( 'DB_NAME', '' );
/** Database username */ define( 'DB_USER', '' );
/** Database password */ define( 'DB_PASSWORD', '' );
/** Database hostname */ define( 'DB_HOST', '' );
/** Database charset to use in creating database tables. */ define( 'DB_CHARSET', 'utf8' );
/** The database collate type. Don't change this if in doubt. */ define( 'DB_COLLATE', '' );
Content type
Image
Digest
sha256:b50a4e4df…
Size
161 MB
Last updated
over 3 years ago
docker pull sunilkumawat/wp