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