Fix worker container to use main.pysss instead of worker.py
This commit is contained in:
parent
255a3cc41d
commit
278c24c022
@ -31,10 +31,10 @@ def main():
|
|||||||
user_coll = db['users']
|
user_coll = db['users']
|
||||||
|
|
||||||
user_coll.insert_one({
|
user_coll.insert_one({
|
||||||
# "username": args.username,
|
"username": args.username,
|
||||||
# "password": hash_password(args.password)
|
"password": hash_password(args.password)
|
||||||
"username": os.getenv("ADMIN_USERNAME"),
|
# "username": os.getenv("ADMIN_USERNAME"),
|
||||||
"password": hash_password(os.getenv("ADMIN_PASSWORD"))
|
# "password": hash_password(os.getenv("ADMIN_PASSWORD"))
|
||||||
})
|
})
|
||||||
|
|
||||||
print('Account created successfully')
|
print('Account created successfully')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user