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.insert_one({
|
||||
# "username": args.username,
|
||||
# "password": hash_password(args.password)
|
||||
"username": os.getenv("ADMIN_USERNAME"),
|
||||
"password": hash_password(os.getenv("ADMIN_PASSWORD"))
|
||||
"username": args.username,
|
||||
"password": hash_password(args.password)
|
||||
# "username": os.getenv("ADMIN_USERNAME"),
|
||||
# "password": hash_password(os.getenv("ADMIN_PASSWORD"))
|
||||
})
|
||||
|
||||
print('Account created successfully')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user