From d7475b2bc3edf0027e0fa57e3997c084c36a1b74 Mon Sep 17 00:00:00 2001 From: IwanIDev Date: Fri, 20 Mar 2026 13:52:35 +0000 Subject: Add Traefik configuration and environment variables for Docker deployment --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a059811..15bc22f 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,17 @@ Set these in your GitHub repository before deploying: - Repository variable: `VITE_DRUPAL_BASE_URL` - Repository variable: `VITE_DRUPAL_API_PREFIX` (optional) - Repository secret: `VITE_DRUPAL_AUTH_TOKEN` (optional) +- Repository variable: `PORTFOLIO_HOST` (domain Traefik should match, for example `portfolio.example.com`) +- Repository variable: `TRAEFIK_NETWORK` (defaults to `traefik-public`) +- Repository variable: `TRAEFIK_ENTRYPOINTS` (defaults to `web`, use `websecure` for TLS entrypoint) + +The `web` service is routed by Traefik (no direct host port publish on the app service). Your host Nginx can continue acting as the public reverse proxy by forwarding to Traefik's exposed entrypoint(s). + +Before first deploy, ensure the external Traefik overlay network exists in Swarm: + +```bash +docker network create --driver overlay traefik-public +``` Existing deploy flow: -- cgit