hughbris / cadaver Goto Github PK
View Code? Open in Web Editor NEWDocker image build files for running Grav CMS under Caddy webserver
License: MIT License
Docker image build files for running Grav CMS under Caddy webserver
License: MIT License
When there are githooks under .git/hooks/
, execute bits are reset by the permission setting part of init/init/grav
.
I have never used Xdebug, don't even know how to capitalise it. Would be handy in development environments I'm sure.
I've looked at how to install this. The blocker is how to manage this variant in the docker image, as a tag I guess. Might require a build script to manage option permutations. Look at similar images for implementation clues.
Thanks to them having a feed and me starting to rediscover feedreaders, Ars Technica have alerted me that it's now possible to block ChatGPT using robots.txt.
Given how important this is to many site owners, add an option to put this directive into a robots.txt file published from a container instance. I already have ROBOTS_DISALLOW
, a simple boolean. Need to keep supporting this, while extending it for cases like this. I think there is a danger that the number of possible commonly sought-after boilerplate robots.txt files could extend beyond what will scale. For now, I think provide a small number of them and also provide instructions on how to do this by simply bind mounting a custom robots file.
The directive for ChatGPT API bots is:
User-agent: GPTBot
Disallow: /
I can see this needing to be extended. To future-proof, file should be named generically like ai-bots or similar.
It's happening ready or not
https://serversideup.net/open-source/docker-php/ is just good enough at selling its benefits that I am wondering if I'm using the best base image provider.
Update: I'm having trouble setting up a working Caddy server using the S6 overlay framework that this image uses now.
Mainly the subdirectory version, which is already added commented out.
Very little incentive to implement the subdomain version, since I tend to expose containers via reverse proxy.
Grav has its own handy job scheduler which requires the OS's cron. It's not considered good practice in Docker to run a cron service inside an application container. This makes the scheduler difficult to support, but the documentation should suggest ways to add support for it that the application container can use.
Innocent as I am, I've picked up only lately that this repo might be unfortunately named. Wanted: something unique-ish integrating the qualities of grav + docker + caddy.
Since the tagged images are being used by at least one person, find out what, if any, redirects Github/GHCR puts in place. Do the best I can to minimise the impacts.
I noticed in some logs after a recent install of a site with existing content (user
populated) that there were some errors from chmod
and it looks like it couldn't set permissions for files that had spaces in their names.
This looks like a problem where xargs
is treating every space piped to it from find
as a new file to be chmod
ed. Indeed, that's what I'm seeing from a quick search and the solution seems to be to add a flag to change xargs
's delimiter. Hopefully it's that simple, need to test.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.