Giter Club home page Giter Club logo

Comments (3)

jdoubleu avatar jdoubleu commented on August 20, 2024

Do you just want to have access to the occ inside the container? There's already occ you can access like this: docker exec -it my-nextcloud occ ....

Or do you want to be able to mount some scripts in /docker-entrypoint.d which will be ran on start?
If so why don't you just create your own image based on this?
And what exactly do you want to configure that you can't simply add it to the config file?

from dockerfiles.

cjeanneret avatar cjeanneret commented on August 20, 2024

Hello,

In fact, I've created an image based on yours — the whole point of having a "docker-entrypoint.d" directory and related support is to be able to do so without having to replace the "run.sh" script — I'll provide a pull-request this week so that you can see what can be done.

Having the support in your image directly allows people to extend it in a convenient and easy way. A bit like the "postgresql" docker image.

I have "some" configuration to push in nextcloud, using the "occ" through "su-exec" directly in the entrypoint script — that allows me to automate the instance deploy, its configuration (database, admin name) and some tuning (theming). All isn't directly in the configuration file, and thus it's easier to use a script called at startup.

Cheers,

C.

from dockerfiles.

Wonderfall avatar Wonderfall commented on August 20, 2024

Since your last post, autoconfiguration for database was added.
But I like the idea, PR is welcome. :)

from dockerfiles.

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.