restructure services based on host machine
This commit is contained in:
2
nuc/cloudflare_tunnel/.env.example
Normal file
2
nuc/cloudflare_tunnel/.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
# TOKEN is the token for this cloudflare tunnel
|
||||
TOKEN=XXX
|
23
nuc/cloudflare_tunnel/docker-compose.yml
Normal file
23
nuc/cloudflare_tunnel/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
bitwarden:
|
||||
image: cloudflare/cloudflared:latest
|
||||
container_name: cloudflare-tunnel
|
||||
restart: unless-stopped
|
||||
command: tunnel --no-autoupdate run --token ${TOKEN}
|
||||
|
||||
environment:
|
||||
- TOKEN=${TOKEN}
|
||||
|
||||
networks:
|
||||
- web
|
||||
|
||||
networks:
|
||||
web:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
vaultwarden_data:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user