services: apache: build: . container_name: apache-server ports: - "8080:80" volumes: - ./html:/usr/local/apache2/htdocs restart: unless-stopped # cloudflared: # image: cloudflare/cloudflared:latest # container_name: cloudflared # restart: unless-stopped # command: tunnel --no-autoupdate --protocol http2 --edge-ip-version 4 run --token ${CLOUDFLARE_TOKEN} # environment: # - TUNNEL_TOKEN=${CLOUDFLARE_TOKEN} # depends_on: # - apache