Works on Ubuntu 24.04 / 26.04, Wayland + GNOME. Example uses Paseo, but steps are the same for any AppImage.
Download the .AppImage file, e.g. to ~/Downloads/:
ls -lh ~/Downloads/*.AppImage| #!/usr/bin/env bash | |
| # cf-expose.sh — expose a service in this LXC/VM via Cloudflare Tunnel, CLI only. | |
| # | |
| # Download once (the "?$(date +%s)" defeats GitHub's raw-CDN cache, which can serve a stale copy for minutes): | |
| # curl -fsSL "https://gist.githubusercontent.com/shrijayan/769072c5a4b01cb858a3f11bc75d452d/raw?$(date +%s)" -o cf-expose.sh | |
| # then: | |
| # bash cf-expose.sh # fully interactive | |
| # bash cf-expose.sh -d app.example.com -p 8080 # localhost:8080 | |
| # bash cf-expose.sh -d app.example.com -s http://10.0.0.5:3000 | |
| # bash cf-expose.sh -n coolify-x -d "*.example.com" -p 80 && bash cf-expose.sh -n coolify-x -d example.com -p 80 |
| #!/bin/bash | |
| # Exit on any error | |
| set -e | |
| # Help helper function | |
| usage() { | |
| echo "Usage: $0 [domain_name] [local_url]" | |
| echo "Example: $0 app.mydomain.com http://localhost:3000" | |
| } |
ZAgAAAAAAAGE9MTMwMDI3Njc1NTU1NiZiPTImYz0xJmQ9MTUyOTYwJmU9RjMzODUxNUI2MjQ4MjdCMTkyRjkwQzIwN0VEQjY0OTQwJmg9MTc3OTk3MjEyNTE5OCZpPTQzMjAwJmlsPXVzJmFtcj1wd2Qmbz05M2JjMTI2ZDQ0YTgwNWQ5MWUxMzFlNDMwODJkZmI2MCZsdD0w18BiLKjI943mQAzL8Y4ykQ
docker: Error response from daemon: failed to create endpoint blissful_jang on network bridge: adding interface veth4bb43fc to bridge docker0 failed: Device does not exist.
ERRO[0000] error waiting for container: context canceled