feat: Add cloudflare tunnel (#166)
* feat: add cloudflare-tunnel service * feat: add cloudflare-tunnel service * feat: add cloudflare tunnel token variable * revert: remove tunnel service https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/166#issuecomment-1813735712
This commit is contained in:
parent
89b8740691
commit
edc5d2bb9b
3
dev.env
3
dev.env
|
|
@ -66,3 +66,6 @@ PORTAINER_PASSWORD=password1234
|
|||
# Grafana Dashboard
|
||||
GF_SECURITY_ADMIN_USER=admin
|
||||
GF_SECURITY_ADMIN_PASSWORD=password
|
||||
|
||||
# Cloudflare tunnel token
|
||||
CLOUDFLARE_TUNNEL_TOKEN=
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
version: '3'
|
||||
services:
|
||||
tunnel:
|
||||
container_name: cloudflared-tunnel
|
||||
image: cloudflare/cloudflared
|
||||
restart: unless-stopped
|
||||
command: tunnel --no-autoupdate run
|
||||
environment:
|
||||
- TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}
|
||||
depends_on:
|
||||
- nginx
|
||||
|
||||
portainer:
|
||||
restart: on-failure
|
||||
image: portainer/portainer-ce:latest
|
||||
|
|
|
|||
Loading…
Reference in New Issue