This commit is contained in:
Andrey Kondratev
2025-08-29 09:29:10 +05:00
parent 4acd733c06
commit c43bfcd1df

View File

@@ -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