updated Dockerfile
This commit is contained in:
parent
7efd6f8941
commit
0bdc0d287e
|
|
@ -1,13 +1,14 @@
|
|||
#!/bin/bash
|
||||
export EMAIL_HOST="10.10.2.34"
|
||||
export EMAIL_USERNAME="karatay@mehmetkaratay.com.tr"
|
||||
export EMAIL_PASSWORD="system"
|
||||
export EMAIL_PORT=587
|
||||
export EMAIL_SEND=1
|
||||
export DB_HOST="10.10.2.14"
|
||||
export DB_USER="postgres"
|
||||
export DB_PASSWORD="password"
|
||||
export DB_PORT=5432
|
||||
export EMAIL_HOST="${EMAIL_HOST}"
|
||||
export EMAIL_USERNAME="${EMAIL_USERNAME}"
|
||||
export EMAIL_PASSWORD="${EMAIL_PASSWORD}"
|
||||
export EMAIL_PORT=${EMAIL_PORT}
|
||||
export EMAIL_SEND=${EMAIL_SEND}
|
||||
export DB_HOST="${DB_HOST}"
|
||||
export DB_USER="${DB_USER}"
|
||||
export DB_PASSWORD="${DB_PASSWORD}"
|
||||
export DB_PORT=${DB_PORT}
|
||||
export DB_NAME="${DB_NAME}"
|
||||
|
||||
env >> /var/log/cron.log
|
||||
/usr/local/bin/python /app.py
|
||||
Loading…
Reference in New Issue