Environment variables
- OTP_QUEUE_URL - Queue service URL. Default is
http://queue
. - OTP_SMS_URL - SMS service URL. Default is
http://sms
. - OTP_SMS_WORKER - worker that handles sms queueing. Default is
sms
. - OTP_CALL_URL - CALL service URL. Default is
http://sms
. - OTP_CALL_WORKER - worker that handles call queueing. Default is
sms
. - OTP_EMAIL_URL - Email service URL. Default is
http://email
. - OTP_EMAIL_WORKER - worker that handles email queueing. Default is
email
. - OTP_TELEGRAM_URL - URL of Telegram sending service. Default is
http://telegram:8080
. - OTP_TELEGRAM_APP_TOKEN -
APP_TOKEN
parameter of Telegram sending service. Required, if telegram OTPs are going to be used. - OTP_TELEGRAM_WORKER - worker that handles telegram queueing. Default is
telegram
. - HTTP_AUTH_USERNAME - username for HTTP Basic Authorization. Optional.
- HTTP_AUTH_PASSWORD - password for HTTP Basic Authorization. Optional.
- DUMMY - If
true
, then no real interaction with sms/email/call/telegram/etc services are done. Default isfalse
.
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.