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:
@@ -30,20 +30,20 @@ stop:
|
||||
setup: start 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-load:
|
||||
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:
|
||||
@for dir in user/docs/demo/tracker/*/; do \
|
||||
folder=$$(basename "$$dir"); \
|
||||
rm -rf "user/pages/01.tracker/$$folder"; \
|
||||
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) ──────────────────────────────────────────
|
||||
|
||||
|
||||
+4
-5
@@ -1,13 +1,12 @@
|
||||
services:
|
||||
grav:
|
||||
image: lscr.io/linuxserver/grav:latest
|
||||
image: getgrav/grav
|
||||
container_name: intotheeast_grav
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- GRAV_CHANNEL=beta
|
||||
ports:
|
||||
- "8081:80"
|
||||
volumes:
|
||||
- ./user:/config/www/user
|
||||
- ./php/php-local.ini:/config/php/php-local.ini
|
||||
- ./user:/var/www/html/user
|
||||
- ./php/php-local.ini:/usr/local/etc/php/conf.d/php-local.ini
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user