Skip to content

Commit

Permalink
Cleaned up .env file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangrynenko committed Feb 17, 2024
1 parent aa5ead6 commit 64148cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
6 changes: 0 additions & 6 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,3 @@ WP_AUTH_SALT=define_here
WP_SECURE_AUTH_SALT=define_here
WP_LOGGED_IN_SALT=define_here
WP_NONCE_SALT=define_here

# Database credentials - will be overridden in Lagoon.
MARIADB_DATABASE=lagoon
MARIADB_USERNAME=lagoon
MARIADB_PASSWORD=lagoon
MARIADB_HOST=mariadb
10 changes: 5 additions & 5 deletions scripts/scaffold/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ WORDPRESS_SITE_URL="${LOCALDEV_URL:-http://example.com}"
WP_DB_DUMP_FILE="${WP_DB_DUMP_FILE:-db.sql}"

# Mariadb database name.
MARIADB_DATABASE: ${MARIADB_DATABASE:-lagoon}
MARIADB_DATABASE="${MARIADB_DATABASE:-lagoon}"

# Mariadb user name.
MARIADB_USERNAME: ${MARIADB_USERNAME:-lagoon}
MARIADB_USERNAME="${MARIADB_USERNAME:-lagoon}"

# Mariadb password.
MARIADB_PASSWORD: ${MARIADB_PASSWORD:-lagoon}
MARIADB_PASSWORD="${MARIADB_PASSWORD:-lagoon}"

# Mariadb host.
MARIADB_HOST: ${MARIADB_HOST:-mariadb}
MARIADB_HOST="${MARIADB_HOST:-mariadb}"

# Webroot directory.
WEBROOT: ${WEBROOT:-web}
WEBROOT="${WEBROOT:-web}"

# ------------------------------------------------------------------------------

Expand Down

0 comments on commit 64148cf

Please sign in to comment.