version: '3.8' services: web: build: context: . dockerfile: pkg/Dockerfile image: send-frankenphp:test container_name: send-web ports: - "8081:80" volumes: - ./public:/app - ./pkg/files/Caddyfile:/etc/frankenphp/Caddyfile - ./.htpasswd:/etc/frankenphp/htpasswd environment: - LOG_LEVEL=DEBUG - CADDY_GLOBAL_OPTIONS=debug security_opt: - label=disable restart: unless-stopped