Skip to content

Commit

Permalink
few changes in .env configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Jul 3, 2024
1 parent c8951a5 commit cf42365
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ postgres_config = {
"POSTGRES_PORT": POSTGRES_PORT
}
# write it to .config/state/postgres.env
agent.write_envfile(postgres_config, "postgres.env")
agent.write_envfile("postgres.env", postgres_config)

# Write Email configuration to .config/state/email.env
# SMTP Configuration
Expand Down Expand Up @@ -112,8 +112,7 @@ REDIS_SSL = data.get("REDIS_SSL", "False")

SKIP_SUPERUSER = data.get("SKIP_SUPERUSER", "True")
WEBHOOKS_ENABLED = data.get("WEBHOOKS_ENABLED", "True")
secret = secrets.token_hex(32)
SECRET_KEY=secret
SECRET_KEY = secrets.token_hex(32)

net_box_config = {
"CORS_ORIGIN_ALLOW_ALL": CORS_ORIGIN_ALLOW_ALL,
Expand Down

0 comments on commit cf42365

Please sign in to comment.