-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some restart tests #166
Conversation
First pass at a refactor of init detection. Have only tested so far with Postgres, and will need to setup better tests to cover MySQL a bit more. |
…rt-tests * 'restart-tests' of github.com:CachetHQ/Docker: MAX_CHILDREN changed to PHP_MAX_CHILDREN Added environment setup for pm.max_children, default:5
APP_ENV=${APP_ENV:-development} | ||
APP_DEBUG=${APP_DEBUG:-true} | ||
APP_URL=${APP_URL:-http://localhost} | ||
APP_KEY=${APP_KEY:-SECRET} | ||
APP_KEY=${APP_KEY:-base64:SGZXUdds0Qnbf55/7diaHMPPM2TXfOSxHtUAXz6POSw=} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize a key is being shipped here, but it needed some real default value for now. This should be set via -e APP_KEY="base64:<Your Real Key>"
in production anyway.
cc: @csandanov based on #161 (comment) |
Add some tests for restart behavior. The goal is to have something better for restart detection than the
.cachet-installed
logic inentrypoint.sh
ref: #161 (comment)