refactor: rename deploy/ → docker/ (container build, not host deploy)

The folder only holds the in-container nginx + entrypoint that the
standalone Dockerfile copies. Calling it "deploy" implied host-level
production glue, which now lives in github.com/velxio/velxio-prod.
"docker/" makes the build-time vs deploy-time split obvious.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
David Montero Crespo 2026-05-04 00:05:55 -03:00
parent 531c337d19
commit b736aea86a
4 changed files with 6 additions and 6 deletions

View File

@ -129,13 +129,13 @@ COPY backend/scripts/ ./scripts/
# ours as the default_server (was Issue #108: users behind reverse proxies got # ours as the default_server (was Issue #108: users behind reverse proxies got
# the "Welcome to nginx" page because the stock site claimed default_server). # the "Welcome to nginx" page because the stock site claimed default_server).
RUN rm -f /etc/nginx/sites-enabled/default RUN rm -f /etc/nginx/sites-enabled/default
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
# Copy built frontend assets from builder stage # Copy built frontend assets from builder stage
COPY --from=frontend-builder /app/frontend/dist /usr/share/nginx/html COPY --from=frontend-builder /app/frontend/dist /usr/share/nginx/html
# Copy and configure entrypoint script (fix Windows CRLF → LF) # Copy and configure entrypoint script (fix Windows CRLF → LF)
COPY deploy/entrypoint.sh /app/entrypoint.sh COPY docker/entrypoint.sh /app/entrypoint.sh
RUN sed -i 's/\r$//' /app/entrypoint.sh && chmod +x /app/entrypoint.sh RUN sed -i 's/\r$//' /app/entrypoint.sh && chmod +x /app/entrypoint.sh
# ── ESP32 emulation: pre-built QEMU .so + ROM binaries ────────────────────── # ── ESP32 emulation: pre-built QEMU .so + ROM binaries ──────────────────────

View File

@ -485,7 +485,7 @@ The Docker Hub description is automatically updated from the repository's `READM
## Entrypoint Script ## Entrypoint Script
**Location:** `deploy/entrypoint.sh` **Location:** `docker/entrypoint.sh`
The entrypoint script runs when the container starts. It initializes development tools and launches the application services. The entrypoint script runs when the container starts. It initializes development tools and launches the application services.
@ -551,7 +551,7 @@ Using `exec nginx` replaces the shell process with Nginx, making it PID 1. This
## Nginx Reverse Proxy ## Nginx Reverse Proxy
**Location:** `deploy/nginx.conf` **Location:** `docker/nginx.conf`
### API Proxy Configuration ### API Proxy Configuration
@ -994,8 +994,8 @@ For ESP32 first-time compilation (cold build cache), this may still not be enoug
| `Dockerfile.standalone` | Multi-stage Docker build (4 stages) | | `Dockerfile.standalone` | Multi-stage Docker build (4 stages) |
| `.github/workflows/docker-publish.yml` | CI/CD: builds + pushes multi-arch image | | `.github/workflows/docker-publish.yml` | CI/CD: builds + pushes multi-arch image |
| `third-party/qemu-lcgamboa/.github/workflows/build-libqemu.yml` | CI/CD: builds QEMU .so for amd64 + arm64 | | `third-party/qemu-lcgamboa/.github/workflows/build-libqemu.yml` | CI/CD: builds QEMU .so for amd64 + arm64 |
| `deploy/entrypoint.sh` | Container startup script | | `docker/entrypoint.sh` | Container startup script |
| `deploy/nginx.conf` | Nginx reverse proxy configuration | | `docker/nginx.conf` | Nginx reverse proxy configuration |
| `docker-compose.yml` | Self-hosting compose file (production at github.com/velxio/velxio-prod) | | `docker-compose.yml` | Self-hosting compose file (production at github.com/velxio/velxio-prod) |
| `prebuilt/qemu/` | Local QEMU prebuilt files (optional, for dev) | | `prebuilt/qemu/` | Local QEMU prebuilt files (optional, for dev) |
| `backend/.env` | Backend environment variables (not committed) | | `backend/.env` | Backend environment variables (not committed) |