Environment variables
- SMS_PROVIDER - Default sms provider to use. Required. “smscru”, “twilio”, “epochtaru”, “mobizonkz” values are acceptable.
- TWILIO_SID - twilio.com providers SID parameter. Required, if this provider is used.
- TWILIO_TOKEN - twilio.com providers Token parameter. Required, if this provider is used.
- TWILIO_PHONE - twilio.com providers sender phone number. Required, if this provider is used.
- SMSCRU_SENDER - smsc.ru provider sender name for sms. Required, if this provider is used.
- SMSCRU_USERNAME - smsc.ru provider login. Required, if this provider is used.
- SMSCRU_PASSWORD - smsc.ru provider password. Required, if this provider is used.
- EPOCHTARU_SENDER - epochta.ru provider sender name for sms. Required, if this provider is used.
- EPOCHTARU_USERNAME - epochta.ru provider login. Required, if this provider is used.
- EPOCHTARU_PASSWORD - epochta.ru provider password. Required, if this provider is used.
- MOBIZONKZ_API_KEY - mobizon.kz API key from personal cabinet. Required, if this provider is used.
- SMS_DUMMY - If this is “true”, sms will not be sent, but response will be as sms was successfully sent. Useful in development configurations. Optional. Default is “false”.
Image requires PostgreSQL instance. See available environment variables here.
Available environment variables for PHP are here.
Volumes
This image has no volumes.
If you want to make any additional configuration of container, mount your bash script to /opt/setup.sh. This script will be executed on container setup.