added demo config
This commit is contained in:
parent
10494a03a9
commit
63ff5845e2
|
@ -0,0 +1,16 @@
|
||||||
|
import os
|
||||||
|
|
||||||
|
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:%s@database/pitstops' % (os.environ['DATABASE_ENV_MYSQL_ROOT_PASSWORD'])
|
||||||
|
#SQLALCHEMY_DATABASE_URI = 'sqlite:////data/rollerverbrauch.db'
|
||||||
|
|
||||||
|
MAIL_SERVER = ''
|
||||||
|
MAIL_PORT= 25
|
||||||
|
MAIL_USE_TLS = True
|
||||||
|
MAIL_USE_SSL = False
|
||||||
|
MAIL_USERNAME = ''
|
||||||
|
MAIL_PASSWORD = ''
|
||||||
|
SECURITY_EMAIL_SENDER = ''
|
||||||
|
SECURITY_PASSWORD_SALT = 'SecretSalt'
|
||||||
|
SECRET_KEY = 'SecretKey'
|
||||||
|
|
||||||
|
SECURITY_SEND_REGISTER_EMAIL = False
|
|
@ -5,7 +5,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
volumes:
|
volumes:
|
||||||
- /home/jlusiardi/Documents/rollerverbrauch_config/:/config
|
- ./compose_config/:/config
|
||||||
environment:
|
environment:
|
||||||
- config=/config/config.py
|
- config=/config/config.py
|
||||||
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
|
- DATABASE_ENV_MYSQL_ROOT_PASSWORD=foobar123
|
||||||
|
|
Loading…
Reference in New Issue