cobalt
cobalt
CDCloudflare Developers
Created by cobalt on 9/16/2023 in #general-help
Cloudflare Tunnels - Connection Refused
Here's my docker-compose.yml
4 replies
CDCloudflare Developers
Created by cobalt on 9/16/2023 in #general-help
Cloudflare Tunnels - Connection Refused
version: "2.1"
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- PASSWORD=tryhackme
- SUDO_PASSWORD=root!
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /home/cobalt/devserver/code-server:/config
ports:
- 8443:8443
networks:
- code-server
restart: unless-stopped
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=token
networks:
- code-server

networks:
code-server:
name: code-server-net
external: true
version: "2.1"
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- PASSWORD=tryhackme
- SUDO_PASSWORD=root!
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /home/cobalt/devserver/code-server:/config
ports:
- 8443:8443
networks:
- code-server
restart: unless-stopped
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel run
environment:
- TUNNEL_TOKEN=token
networks:
- code-server

networks:
code-server:
name: code-server-net
external: true
4 replies