Ryan
Ryan
CDCloudflare Developers
Created by pettrusk on 1/22/2025 in #general-help
Tried to update cloudflare tunnel in my docker container
im guessing if you dont want to use docker-compose, when you shutdown the container, remove the current docker image and get it to repull the latest when you build again
7 replies
CDCloudflare Developers
Created by pettrusk on 1/22/2025 in #general-help
Tried to update cloudflare tunnel in my docker container
when you need to update, you just shutdown (docker-compose down -v), remove docker image and docker-compose up -d again
7 replies
CDCloudflare Developers
Created by pettrusk on 1/22/2025 in #general-help
Tried to update cloudflare tunnel in my docker container
the docker-compose.yml script is as easy as this
7 replies
CDCloudflare Developers
Created by pettrusk on 1/22/2025 in #general-help
Tried to update cloudflare tunnel in my docker container
also I use docker-compose to simplify all of this.
version: '3.9'
services:
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel run --token <input token here>
version: '3.9'
services:
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel run --token <input token here>
7 replies
CDCloudflare Developers
Created by pettrusk on 1/22/2025 in #general-help
Tried to update cloudflare tunnel in my docker container
you need to configure on host, not inside container
7 replies
CDCloudflare Developers
Created by pettrusk on 1/22/2025 in #general-help
Tried to update cloudflare tunnel in my docker container
sudo cat /etc/sysctl.d/99-sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
net.core.rmem_max=10000000
net.core.wmem_max=10000000
net.ipv4.ip_forward=1
sudo cat /etc/sysctl.d/99-sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
net.core.rmem_max=10000000
net.core.wmem_max=10000000
net.ipv4.ip_forward=1
7 replies