feat: switch to getgrav/grav 2.0 RC docker image

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 23:13:53 +02:00
parent 6fe066e77d
commit df55917347
2 changed files with 7 additions and 8 deletions
+3 -3
View File
@@ -30,20 +30,20 @@ stop:
setup: start install-plugins setup: start install-plugins
install-plugins: install-plugins:
docker exec -w /app/www/public intotheeast_grav php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y docker exec -w /var/www/html intotheeast_grav php bin/gpm install $(shell cat plugins.txt | tr '\n' ' ') -y
# ── Demo content ────────────────────────────────────────────────────────────── # ── Demo content ──────────────────────────────────────────────────────────────
demo-load: demo-load:
cp -r user/docs/demo/tracker/. user/pages/01.tracker/ cp -r user/docs/demo/tracker/. user/pages/01.tracker/
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache" docker exec intotheeast_grav bash -c "cd /var/www/html && php bin/grav clearcache"
demo-reset: demo-reset:
@for dir in user/docs/demo/tracker/*/; do \ @for dir in user/docs/demo/tracker/*/; do \
folder=$$(basename "$$dir"); \ folder=$$(basename "$$dir"); \
rm -rf "user/pages/01.tracker/$$folder"; \ rm -rf "user/pages/01.tracker/$$folder"; \
done done
docker exec intotheeast_grav bash -c "cd /app/www/public && php bin/grav clearcache" docker exec intotheeast_grav bash -c "cd /var/www/html && php bin/grav clearcache"
# ── Content sync (user repo ↔ Gitea) ────────────────────────────────────────── # ── Content sync (user repo ↔ Gitea) ──────────────────────────────────────────
+4 -5
View File
@@ -1,13 +1,12 @@
services: services:
grav: grav:
image: lscr.io/linuxserver/grav:latest image: getgrav/grav
container_name: intotheeast_grav container_name: intotheeast_grav
environment: environment:
- PUID=1000 - GRAV_CHANNEL=beta
- PGID=1000
ports: ports:
- "8081:80" - "8081:80"
volumes: volumes:
- ./user:/config/www/user - ./user:/var/www/html/user
- ./php/php-local.ini:/config/php/php-local.ini - ./php/php-local.ini:/usr/local/etc/php/conf.d/php-local.ini
restart: unless-stopped restart: unless-stopped