Fix .gitignore, add .env.example
This commit is contained in:
parent
98c4098bf2
commit
7496125072
4
.gitignore
vendored
4
.gitignore
vendored
@ -16,8 +16,8 @@
|
||||
# Dotenv
|
||||
/src/.env
|
||||
/src/.env.*
|
||||
/src/!.env.example
|
||||
/src/!.env.sample
|
||||
!/src/.env.example
|
||||
!/src/.env.sample
|
||||
|
||||
# Composer
|
||||
/src/vendor
|
||||
|
28
src/.env.example
Normal file
28
src/.env.example
Normal file
@ -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'
|
Reference in New Issue
Block a user