Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [program:dashboard]
- command = /home/ubuntu/dashboard/bin/gunicorn manage:app -w 4
- directory = /home/ubuntu/dashboard
- autostart=true
- autorestart=true
- user = ubuntu
- stdout_logfile = /home/ubuntu/dashboard/logs/gunicorn/gunicorn_stdout.log
- stderr_logfile = /home/ubuntu/dashboard/logs/gunicorn/gunicorn_stderr.log
- redirect_stderr = True
- environment=SECRET_KEY="a_key",FLASK_CONFIG="production",DB_HOST="a_host",DB_PASSWORD="a_password",DB_USERNAME="a_username"
- DB_HOST = os.environ.get('DB_HOST')
- DB_USERNAME = os.environ.get('DB_USERNAME')
- DB_PASSWORD = os.environ.get('DB_PASSWORD')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement