DarkflameServer/docker/credentials_example.py
2021-12-07 21:30:08 +01:00

4 lines
158 B
Python

import os
DB_URL = f'mysql+pymysql://{os.environ["DATABASE_USER"]}:{os.environ["DATABASE_PASSWORD"]}@{os.environ["DATABASE_HOST"]}/{os.environ["DATABASE"]}'