Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readme inaccurate for starting container #4

Open
lhoess opened this issue Dec 15, 2022 · 0 comments
Open

Readme inaccurate for starting container #4

lhoess opened this issue Dec 15, 2022 · 0 comments

Comments

@lhoess
Copy link

lhoess commented Dec 15, 2022

MAC OS 12.6
DOCKER Desktop: v 4.8.0 (78933)

Currently the readme has this command for starting up the docker container.
docker run -p 8080:8080 \ -e EXPRESS=true \ -e INSTALL=true \ ortussolutions/contentbox

But to get ContentBox in Docker to run I had to add -e DB_NAME=contentbox to the run parameters. Otherwise, I would get the following error:
The system detected a custom DB_DRIVER configuration in the environment, but not all of the expected configuration key DB_NAME was not present.

/app/config/datasourceMixins.cfm: line 29
    27: throw(
    28: type="ContentBox.Docker.DatasourceExpectationException",
    29: message="The system detected a custom "DB_DRIVER" configuration in the environment, but not all of the expected configuration key #configExpectedKey# was not present."
    30: );
    31: }

I'm also seeing a problem when using the Lucee5 tagged image:
Message: lucee.commons.lang.ClassException: cannot load class through its string name, because no definition for the class with the specified name [org.h2.Driver] could be found caused by (java.lang.ClassNotFoundException:org.h2.Driver not found by lucee.core [64];java.lang.ClassNotFoundException:org.h2.Driver;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant