winzik/docker/server/frankenphp/compose.yaml
David Nurdin 3e58643aec New projects: composer create-project jumphp/jumphp, a set-up wizard, server deployment
- composer.json (jumphp/jumphp, type project): create-project downloads JumPHP, tools/post-create.sh links
  the folder to the JumPHP repository (git remote "jumphp", bin/jumphp update) and starts the wizard
- bin/jumphp init (also `bin/jumphp` alone in a project without a game), tools/init.sh, French / English:
  tools (git, curl, Docker + compose / buildx, installed with apt / dnf / pacman / zypper / apk / brew),
  the game (name, id, description, resolution, language), the browser engine (prebuilt download or local
  build) and a test, server deployment, GitHub (gh repo create, Pages), then Claude Code started with
  games/<id>/BRIEF.md: a ready-made prompt where the user only wrote what the game should be
- bin/jumphp deploy to your server (deploy:setup, server:setup, server:logs): browser builds + FrankenPHP
  alone (Let's Encrypt), Traefik + FrankenPHP, or behind an existing Traefik (docker/server/*)
- bin/jumphp engine:download / engine:pack (GitHub release asset, sha256), update, github
- VERSION, LICENSE (MIT), docs/projet.md, README, AGENTS.md, .env.dist

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 17:52:39 +01:00

20 lines
522 B
YAML

# FrankenPHP alone: serves the games over HTTPS, certificates from Let's Encrypt (Caddy). bin/jumphp deploy.
services:
web:
image: ${JUMPHP_WEB_IMAGE}
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
environment:
SERVER_NAME: ${JUMPHP_DOMAIN}
ACME_EMAIL: ${JUMPHP_ACME_EMAIL}
volumes:
- ./site:/srv:ro
- ./Caddyfile:/etc/frankenphp/Caddyfile:ro
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config: