summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorIwanIDev <iwan@iwani.dev>2026-03-20 13:52:35 +0000
committerIwanIDev <iwan@iwani.dev>2026-03-20 13:52:35 +0000
commitd7475b2bc3edf0027e0fa57e3997c084c36a1b74 (patch)
tree53f6da45dbf965259f29775160a2e7fac8e42903 /README.md
parent719a1e81d5af5c872f79f11f462e4b30211f80b7 (diff)
Add Traefik configuration and environment variables for Docker deployment
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
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: