Server IP / Systemctl

Without using docker, what’s the best way to deploy a CTFd server? Should I just put up a systemctl script to run “flask run” or “python2.7 server.py” what’s best practice for this.

Also where is the server IP config from when you run “flask run?” I can manually modify it in server.py from “127.0.0.1” to “0.0.0.0.” But where can I set it? Thanks

Why wouldn’t you want to use docker?

serve.py shouldn’t be used for any production installations at all. You can use gunicorn as an alternative by copying out the code from docker-entrypoint.sh.