Migrate from Kirby CMS to Hugo with Gokarna theme

- Remove all Kirby/PHP files
- Add Hugo config with Gokarna theme as git submodule
- Add nginx + Hugo Dockerfile replacing PHP/Apache
- Update deploy.php to run hugo after git pull
- Update .gitignore for Hugo output

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
KirbyCMS Deploy
2026-04-15 13:40:52 +00:00
parent eef543b2ab
commit ce580af089
1117 changed files with 129 additions and 203567 deletions

35
docker-compose.yml Normal file
View File

@@ -0,0 +1,35 @@
version: '3.8'
services:
kirbycms:
build:
context: ./kirby
dockerfile: Dockerfile
image: robbis-space
container_name: robbis-space
volumes:
- /home/kirbyuser/robbis-space:/var/www/html:rw # Persistente Daten
environment:
- DEPLOY_SECRET=${DEPLOY_SECRET}
restart: unless-stopped
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
- "traefik.http.routers.robbis-space.service=robbis-space"
- "traefik.http.routers.robbis-space.tls.certresolver=http_resolver"
- "traefik.http.routers.robbis-space.tls.domains[0].main=robbis.space"
- "traefik.http.routers.robbis-space.rule=Host(`robbis.space`)"
- "traefik.http.routers.robbis-space.entrypoints=websecure"
- "traefik.http.routers.robbis-space.tls=true"
- "traefik.http.services.robbis-space.loadbalancer.server.port=80"
# HTTP-Router (Port 80)
- "traefik.http.routers.robbis-space-http.rule=Host(`robbis.space`)"
- "traefik.http.routers.robbis-space-http.entrypoints=web"
- "traefik.http.routers.robbis-space-http.middlewares=traefik-https-redirect"
- "traefik.http.middlewares.traefik-https-redirect.redirectscheme.scheme=https"
# Service-Port (Apache läuft auf Port 80 im Container)
networks:
proxy:
external: true