This commit is contained in:
2026-01-23 15:07:19 +01:00
parent 59d4215773
commit 6591d3fb4c
3 changed files with 11 additions and 2 deletions

3
.gitignore vendored
View File

@@ -22,3 +22,6 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
# Dkr
.env

View File

@@ -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}

View File

@@ -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