From 03e8d546f16b7a37c82c03c15956ecfad816c580 Mon Sep 17 00:00:00 2001 From: Rerurate514 Date: Tue, 21 Apr 2026 18:48:36 +0900 Subject: [PATCH] =?UTF-8?q?cloudflare=E3=83=88=E3=83=B3=E3=83=8D=E3=83=AB?= =?UTF-8?q?=E3=82=92=E9=81=A9=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker-compose.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index f624040..8dd35a2 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,8 +2,16 @@ services: apache: build: . container_name: apache-server - ports: - - "80: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 run --token ${CLOUDFLARE_TOKEN} + environment: + - TUNNEL_TOKEN=${CLOUDFLARE_TOKEN} + depends_on: + - apache \ No newline at end of file