--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To post to this group, send email to comma...@ortussolutions.com.
Visit this group at https://groups.google.com/a/ortussolutions.com/group/commandbox/.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/6e9ba0a7-3cff-4954-978f-d95e603078f4%40ortussolutions.com.
For more options, visit https://groups.google.com/a/ortussolutions.com/d/optout.
Hi and welcome to CommandBox. Yes, CommandBox is tested for production use and is being used in production right now. All the ortus sites like coldbox.org, ortussolutions.com, and forgebox.io are Docker powered by our CommandBox-based docker images. We also have many clients using CommandBox inside of Docker and even on it's own just installed in a Windows VM or Linux VM for production hosting. It's way easier to setup and manage than a standard installation since the settings are very self contained in server.json and you can script out your datasources, etc with CFConfig:
Even if you don't front CommandBox with a web server like IIS, it is very capable and fast. I compared IIS, Apache, and CommandBox serving static files like js, css, etc under extreme load and found the throughput and response times to be just as fast. Part of this is because we use a very fast and lightweight web server called JBoss Undertow.
Emanuele,
You just need to switch your Docker settings over to use Linux containers in your Docker GUI. Then it will run on Docker for Windows. At this time we aren’t supporting a Windows OS
container.
The latest beta of Docker EE for Windows allows you to run both Windows-based and Linux-based containers simultaneously by using a `--platform` argument to the `docker run` command: https://blogs.msdn.microsoft.com/premier_developer/2018/04/20/running-docker-windows-and-linux-containers-simultaneously/
Thanks,
Jon
--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
commandbox+...@ortussolutions.com.
To post to this group, send email to
comma...@ortussolutions.com.
Visit this group at
https://groups.google.com/a/ortussolutions.com/group/commandbox/.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/22dd6a88-9657-4a11-9c28-4e0bf4c32a40%40ortussolutions.com.
Docker image it was the next question :)
I will use Docker image to run CommandBox, CommandBox start a Lucee instance (with cfconfig ecc). It is correct?
Do you have some link/script to help me to start Lucee instance on Docker image startup?
- lockdown Lucee deny access to /lucee/** for ALL IP except my IP
- log all request
- binding multiple site on same IP on port 80
- SSL
--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To post to this group, send email to comma...@ortussolutions.com.
Visit this group at https://groups.google.com/a/ortussolutions.com/group/commandbox/.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/97dc02c3-501c-4926-9943-4950ddb0c761%40ortussolutions.com.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/7fdcfacc-a570-4eeb-9bea-97b0a745482c%40ortussolutions.com.
little feedback after one month on production with Commandbox + Lucee. The environment is stable! Perfect :)
on task manager I see 2 "Java Platform SE binary" running. I think one is the server (server start) and one is commandbox.
Is it possible start only server and stop commandbox
lucee logging is empty. On lucee/admin "server > Settings - Logging" there isn't log enabled,
For future development can be useful, command "install service server ServerName" without use nssm.cc ;)
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/0b4ffed1-73dd-4934-93fb-02296dcadc84%40ortussolutions.com.
That's correct. One java process is the actual server and the other is the CLI start command that waits and streams back the output to the server and also stops the server when the Windows service stops. Normally, if you just start a normal server and don't use the "--console" flag, then the server is started up as a second process that is detached from the CLI process and then you can stop the CLI entirely and the server just keeps running in the background. However, the problem with doing that from a Windows service is the NSSM service only "holds onto" the initial binary that it starts so if you don't do a console start, NSSM will think the server has stopped as soon as the "start" command finishes running. Furthermore, you wouldn't be able to stop your server with the windows service since it no longer has a reference to the actual server. Generally, the CLI process is very small and only takes a bit of RAM so you don't notice it. It's just there to monitor the actual server. |
Sure, you could do it if you wanted. You'd have to use "server info" on a started server and copy the full list of JVM args that were used to start up the server and then configure NSSM to just run those directly and completely bypass the entire CLI. I've never done it, but in theory it would work fine. There are some things that wouldn't work though. For starters, the server's status might not get updated. Secondly, changing settings in your server.json, etc wouldn't take effect since you would have basically "locked in" the exact JVM args. |
Hmm, I've never heard of this before. Are you using CFConfig? If so, does your CFConfig JSON file have settings for the log files in it? Can you send me a screenshot of what you're seeing? I don't generally mess with the Lucee log settings so perhaps I'm just not familiar with the issue. |
--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To post to this group, send email to comma...@ortussolutions.com.
Visit this group at https://groups.google.com/a/ortussolutions.com/group/commandbox/.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/28465608.20180814173424%40emanuelecellini.com.
It would be great if there was a 'boilerplate' repo like this https://github.com/foundeo/ubuntu-nginx-lucee which was configured for commandbox in production without Docker. Things like this I feel would help with CF traction as well.
--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/6ba1bf78-347d-4114-a12c-a7287011341e%40ortussolutions.com.
If u look at the 600 script, CommandBox gets installed. ;)If you want to use CommandBox without or without Docker & with or without NGinx, you could just use the scripts you foundeo already, pun intended.Unless I’m missing something 🤔
It would be great if there was a 'boilerplate' repo like this https://github.com/foundeo/ubuntu-nginx-lucee which was configured for commandbox in production without Docker. Things like this I feel would help with CF traction as well.--
You received this message because you are subscribed to the Google Groups "CommandBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to comma...@ortussolutions.com.
To unsubscribe from this group and stop receiving emails from it, send an email to commandbox+...@ortussolutions.com.
To view this discussion on the web visit https://groups.google.com/a/ortussolutions.com/d/msgid/commandbox/3b941991-d91d-4f04-a00e-443c542a56a0%40ortussolutions.com.