Files
docker-php-stack/docker-compose.frankenphp.yml
T

20 lines
443 B
YAML

services:
server-php:
build:
context: .
args:
FRANKENPHP_IMAGE: ${FRANKENPHP_VERSION}
dockerfile: docker/Dockerfile.frankenphp
volumes:
- ./www:/app
- ./host/frankenphp/conf/Caddyfile:/etc/frankenphp/Caddyfile
healthcheck:
test: [ "CMD-SHELL", "curl -s http://localhost/server-php-test.php || exit 1" ]
interval: 30s
timeout: 1s
retries: 10
start_period: 1s