Comments (3)
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.
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.
Since your last post, autoconfiguration for database was added.
But I like the idea, PR is welcome. :)
from dockerfiles.
Related Issues (20)
- [flood] could you test your last build of flood? HOT 2
- [ kippo-graph ] does not indicate anything
- [nextcloud] Missing imap support
- Getting 401 errors when running the Flood docker container HOT 1
- [boring-nginx] Brotli build failing for over a month HOT 3
- Update nextcloud images on docker hub
- [reverse] Allow ssl flag to use SSL, but not create letsencrypt certificate
- [nextcloud]GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 10000 milliseconds with 0 out of 691732 bytes received
- [ nextcloud ] ResourceLocator can not find a web root (root: /apps2/deck, file: XXX.css) HOT 2
- [flood] rtorrent: Could not lock session directory: "/data/.session/", Permission denied HOT 1
- [rtorrent-flood] Add option to disable filebot HOT 1
- [FreshRSS] Mauvaise redirection API
- Need help to setup reverse proxy for rtorrent-flood
- [boring-nginx] Help needed: How to activate PHP
- Start of nextcloud takes extremely long time
- Update searx to 0.13.1 HOT 1
- [flood] postrm script doesn't seem to work correctly
- Help with Setup
- [nextcloud] version.php incorrect?
- Add ffmpeg to dockerfile/image in order to allow video preview thumbnails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfiles.