portの指定
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user