mirror of
https://github.com/dokku/dokku.git
synced 2026-02-02 09:20:21 +01:00
16 lines
383 B
Python
16 lines
383 B
Python
#!/usr/bin/env python
|
|
import os
|
|
|
|
|
|
def main():
|
|
print("GLOBAL_SECRET: {0}".format(os.getenv('GLOBAL_SECRET')))
|
|
print("SECRET_KEY: {0}".format(os.getenv('SECRET_KEY')))
|
|
app_dir = os.getcwd()
|
|
with open(f"{app_dir}/.env", "r") as f:
|
|
for line in f.readlines():
|
|
if "DOTENV_KEY" in line:
|
|
print(line)
|
|
|
|
if __name__ == '__main__':
|
|
main()
|