Better
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -22,3 +22,6 @@ dist-ssr
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
# Dkr
|
||||||
|
.env
|
||||||
|
|||||||
@@ -1,13 +1,16 @@
|
|||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
|
container_name: app
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- ${PORT}
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
tunnel:
|
tunnel:
|
||||||
image: cloudflare/cloudflared:latest
|
image: cloudflare/cloudflared:latest
|
||||||
restart: always
|
container_name: tunnel
|
||||||
|
env_file: .env
|
||||||
|
restart: unless-stopped
|
||||||
command: tunnel --no-autoupdate run
|
command: tunnel --no-autoupdate run
|
||||||
environment:
|
environment:
|
||||||
- TUNNEL_TOKEN=${TUNNEL_TOKEN}
|
- TUNNEL_TOKEN=${TUNNEL_TOKEN}
|
||||||
|
|||||||
@@ -1,2 +1,5 @@
|
|||||||
|
# App port
|
||||||
|
PORT="127.0.0.1:54888:80/tcp"
|
||||||
|
|
||||||
# Put your Cloudflare Tunnel Token here
|
# Put your Cloudflare Tunnel Token here
|
||||||
TUNNEL_TOKEN=your_token_here
|
TUNNEL_TOKEN=your_token_here
|
||||||
Reference in New Issue
Block a user