portの指定

This commit is contained in:
Rerurate_514-Researchable
2026-04-21 19:37:36 +09:00
parent ebabcde784
commit 450b469369

View File

@@ -2,16 +2,18 @@ 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 run --token ${CLOUDFLARE_TOKEN}
environment:
- TUNNEL_TOKEN=${CLOUDFLARE_TOKEN}
depends_on:
- apache
# 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