diff --git a/.gitignore b/.gitignore index 374a098..bd6a667 100644 --- a/.gitignore +++ b/.gitignore @@ -16,8 +16,8 @@ # Dotenv /src/.env /src/.env.* -/src/!.env.example -/src/!.env.sample +!/src/.env.example +!/src/.env.sample # Composer /src/vendor diff --git a/src/.env.example b/src/.env.example new file mode 100644 index 0000000..f596811 --- /dev/null +++ b/src/.env.example @@ -0,0 +1,28 @@ +DB_NAME='wordpress' +DB_USER='wordpress' +DB_PASSWORD='wordpress' + +# Optionally, you can use a data source name (DSN) +# When using a DSN, you can remove the DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST variables +# DATABASE_URL='mysql://database_user:database_password@database_host:database_port/database_name' + +# Optional database variables +DB_HOST='db' +# DB_PREFIX='wp_' + +WP_ENV='development' +WP_HOME='http://localhost' +WP_SITEURL="${WP_HOME}/wp" + +# Specify optional debug.log path +# WP_DEBUG_LOG='/path/to/debug.log' + +# Generate your keys here: https://roots.io/salts.html +AUTH_KEY='generateme' +SECURE_AUTH_KEY='generateme' +LOGGED_IN_KEY='generateme' +NONCE_KEY='generateme' +AUTH_SALT='generateme' +SECURE_AUTH_SALT='generateme' +LOGGED_IN_SALT='generateme' +NONCE_SALT='generateme'