Question… I have a docker container running using ...
# box-products
d
Question… I have a docker container running using ortussolutions/commandbox and CF2021 on port 80. However the CF admin doesn’t appear to be available. I assume I did something wrong but not sure what it is. Any help would be greatly appreciated.
a
I ha this before. Can't remember the exact fix, but I think it's cos by default the servers are configured in production mode, so are locked down a bit. This lot might help? https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/server-profiles
Looks like I possibly had to put
"profile": "development"
at the top level of my
server.json
file. Trying to decipher some stuff I was doing with commandbox & CF2021 a while back... never thought it was interesting enough to blog about so didn't document what or why I was doing stuf.
d
Thanks for that. I didn’t have a profile set at all. Once I set it to development the admin became available.
a
Cool!