Change port on CTFd


I wanna change the port that CTFd is running on from 8000 to 80. So I changed to port 80 in the file: docker-compose.yml

Then ran: docker-compose up

But it doesn’t work, it still seems to start it on port 8000. Do I need to edit in some more files?

That is the only thing that needs changed.

Post your file here and I will take a look at what is up with it.

The port change should look like this though.
- “80:8000”

1 Like