Skip to content
Permalink
Browse files

Fix docker bug when setting DB_PASSWORD

  • Loading branch information...
timwhite committed Sep 26, 2018
1 parent c24e053 commit 3091ea6e8cd731a9a120612c20b43c521d3cd4c0
Showing with 2 additions and 2 deletions.
  1. +1 −1 docker/docker-php-entrypoint
  2. +1 −1 docker/stikked-envvars.txt
@@ -34,7 +34,7 @@ STIKKED_DB_HOSTNAME="${STIKKED_DB_HOSTNAME:-db}"
# just guess.
STIKKED_DB_DATABASE="${STIKKED_DB_DATABASE:-${MYSQL_DATABASE:-stikked}}"
STIKKED_DB_USERNAME="${STIKKED_DB_USERNAME:-${MYSQL_USER:-stikked}}"
STIKKED_DB_PASS="${STIKKED_DB_PASSWORD:-${MYSQL_PASSWORD:-stikked}}"
STIKKED_DB_PASSWORD="${STIKKED_DB_PASSWORD:-${MYSQL_PASSWORD:-stikked}}"

# If there's not a cron key, set a random one.
if [ ! "$STIKKED_CRON_KEY" ]; then
@@ -15,7 +15,7 @@ STIKKED_DB_HOSTNAME=db
# if you are using a seperately managed database.
#STIKKED_DB_DATABASE=stikked
#STIKKED_DB_USERNAME=stikked
#STIKKED_DB_PASS=stikked
#STIKKED_DB_PASSWORD=stikked

# Other random examples
STIKKED_DISALLOW_SEARCH_ENGINES="true"

0 comments on commit 3091ea6

Please sign in to comment.
You can’t perform that action at this time.