Files
quixotic/.serena/memories/deployment_ip_setup.md
Andrey Kondratev c43bfcd1df mem
2025-08-29 09:29:10 +05:00

1.1 KiB

Deployment Setup via IP Address

Current Setup

  • Domain: quixy.uk configured with Cloudflare proxy
  • Problem: SSH connection via domain doesn't work (Cloudflare only proxies HTTP/HTTPS)
  • Solution: Deploy directly via IP address

Docker Compose Configuration

  • Traefik currently configured with Host rule for domain
  • Need to modify to accept connections by IP address

Options to modify Traefik labels in docker-compose.yml:

Option 1: Add IP to existing rule

- "traefik.http.routers.quixotic.rule=Host(`${DOMAIN:-localhost}`) || Host(`[server_IP]`)"

Option 2: Remove host restriction completely

- "traefik.http.routers.quixotic.rule=PathPrefix(`/`)"

GitHub Actions / CI/CD

  • User will configure GitHub deployment to use direct IP address
  • SSH connection: ssh user@[server_IP]
  • No domain dependency for deployment process

Current Status

  • Containers are running and healthy
  • Need to update .env with DOMAIN=quixy.uk (but deployment will use IP)
  • Website will be accessible via both domain (through Cloudflare) and direct IP