Docker setup based on plainkit and trafex/php-nginx.
Pass URL as build argument:
docker build . -t kirby --build-arg APP_URL=http://localhost:8080docker run -p 8080:8080 -v $(pwd)/data:/var/www/html/data -t kirbyWithout Docker (assuming composer is available and dependencies have been installed):
composer start-
Launch (will create app and volume based on
fly.toml):fly launch
-
Copy local files to volume and set permissions:
fly sftp put -R data/accounts /var/www/html/data/accounts fly sftp put -R data/content /var/www/html/data/content fly ssh console -C "chown -R nobody:nobody /var/www/html/data"