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