Family home

Setup VM

ssh root@65.109.226.206

Install Docker Engine on Ubuntu following the Install using the apt repository part of the tutorialhttps://docs.docker.com/engine/install/ubuntu/#next-steps

CLoudflare create tunnel

version: 3.8 services: # 1. Your Spring Boot Application spring-backend: image: your-docker-repo/your-spring-app:latest # Replace with your actual image container_name: spring-backend restart: unless-stopped # Notice: No ports section! It is completely isolated from the outside world. environment: - SPRING_PROFILES_ACTIVE=prod # Add your database URLs, etc. here # 2. Cloudflare Tunnel cloudflared: image: cloudflare/cloudflared:latest container_name: cloudflared restart: unless-stopped command: tunnel run environment: - TUNNEL_TOKEN=$CLOUDFLARE_TUNNEL_TOKEN depends_on: - spring-backend

.env