No description
Find a file
Jennie Robinson Faber 83c987bb71 Bake cron scripts into the image instead of bind-mounting them
DokPloy's redeploy process rm -rf's the host code dir and recreates it.
The cron container is `restart: unless-stopped` so docker-compose
doesn't recreate it when only scripts/* change — but its bind mount on
./scripts:/app/scripts then points at orphaned inodes inside the
running container, leaving /app/scripts empty until someone manually
`docker restart`s it.

Bake the scripts into the image instead. A scripts/* change now forces
a Dockerfile rebuild → docker-compose recreates the cron service →
fresh /app/scripts inside, no manual restart required. content/ and
.git/ stay bind-mounted because the export job needs to write commits
the host can see.

Also adds .dockerignore so the host's scripts/node_modules (potentially
darwin-specific) doesn't get COPY'd into the alpine image and shadow
the deps installed by `npm install` at build time.
2026-04-08 12:06:04 +01:00
content/wiki wiki content export 2026-04-08 2026-04-08 10:58:04 +00:00
cron Bake cron scripts into the image instead of bind-mounting them 2026-04-08 12:06:04 +01:00
scripts Fix two cron jobs that surfaced once the container could actually run them 2026-04-08 11:57:02 +01:00
.cursorignore Add configuration to block access to hidden files in nginx 2026-03-31 17:50:00 +01:00
.cursorindexingignore Add configuration to block access to hidden files in nginx 2026-03-31 17:50:00 +01:00
.dockerignore Bake cron scripts into the image instead of bind-mounting them 2026-04-08 12:06:04 +01:00
.env.example Replace Nuxt wiki with Outline deployment config 2026-03-01 15:45:44 +00:00
.gitignore Add cron container for daily backups and content export 2026-03-24 09:14:16 +00:00
docker-compose.yml Bake cron scripts into the image instead of bind-mounting them 2026-04-08 12:06:04 +01:00
dokploy.yaml Replace Nuxt wiki with Outline deployment config 2026-03-01 15:45:44 +00:00
nginx.conf Block dotfile access, remove custom CSS, fix cron npm install 2026-03-31 17:53:50 +01:00
outline.env.example Replace Nuxt wiki with Outline deployment config 2026-03-01 15:45:44 +00:00