DarkflameServer/docker/credentials_example.py

4 lines
158 B
Python
Raw Normal View History

2021-12-07 20:30:08 +00:00
import os
DB_URL = f'mysql+pymysql://{os.environ["DATABASE_USER"]}:{os.environ["DATABASE_PASSWORD"]}@{os.environ["DATABASE_HOST"]}/{os.environ["DATABASE"]}'