diff --git a/.serena/memories/deployment_ip_setup.md b/.serena/memories/deployment_ip_setup.md new file mode 100644 index 0000000..dd58529 --- /dev/null +++ b/.serena/memories/deployment_ip_setup.md @@ -0,0 +1,32 @@ +# 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 +```yaml +- "traefik.http.routers.quixotic.rule=Host(`${DOMAIN:-localhost}`) || Host(`[server_IP]`)" +``` + +### Option 2: Remove host restriction completely +```yaml +- "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 \ No newline at end of file