Code Monkey home page Code Monkey logo

Comments (5)

hylkevds avatar hylkevds commented on June 23, 2024

That should indeed be FROST-Server.HTTP.
Did you run mvn install before the docker command?

from frost-server.

kensongzhu avatar kensongzhu commented on June 23, 2024

Okay, I thought, it could run without previously running mvn install.
Now it works after mvn install, it should be mvn dockerfile:build -pl FROST-Server.HTTP

Just a follow-up question, I am still a bit confused about how to have customized configuration of context.xml in the Docker, as mentioned in the doc,

Make sure your adapted file is located in $CATALINA_HOME/conf/Catalina/localhost/FROST-Server.xml

Does it mean, I need to create a Dockerfile based on that image fraunhoferiosb/frost-server: latest,
Then ADD my customized FROST.xml to the path mentioned above?

Thanks
kensong

from frost-server.

hylkevds avatar hylkevds commented on June 23, 2024

Yes, I think that's how you do it, though I don't have much Docker experience yet.
You then also change the docker-compose.yaml to use your custom image instead of fraunhoferiosb/frost-server:latest

We're looking into ways to expose the configuration parameters using environment variables, since that would be cleaner.

from frost-server.

kensongzhu avatar kensongzhu commented on June 23, 2024

Already tried on Friday, however it seems no effect. The service still takes context.xml as default configuration. Now the only way that works for me is modifying the context.xml inside the FROST-Server.HTTP, then rebuild the project and image.

from frost-server.

hylkevds avatar hylkevds commented on June 23, 2024

In the latest version you can now override all configuration settings using environment variables. Could you try it out, to see if it works as you'd expect?

Since environment variables often do not allow the . character, you can use _ instead.

from frost-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.