From 462181e1d9fa548d2fe971656b50b00d60c5da07 Mon Sep 17 00:00:00 2001 From: shum Date: Thu, 22 Oct 2026 04:55:02 +0000 Subject: [PATCH] scripts: mount the names site export --- scripts/store-service/compose.yml | 1 + scripts/store-service/store_service.ini.example | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/scripts/store-service/compose.yml b/scripts/store-service/compose.yml index 25337aa914..cb641ea4e2 100644 --- a/scripts/store-service/compose.yml +++ b/scripts/store-service/compose.yml @@ -21,4 +21,5 @@ services: volumes: - ./store_service.ini:/etc/simplex-store-service/store_service.ini:ro - ./web:/srv/webapp + - ./names:/srv/names-export stop_grace_period: 10s diff --git a/scripts/store-service/store_service.ini.example b/scripts/store-service/store_service.ini.example index dcc9364d62..55d9a42c88 100644 --- a/scripts/store-service/store_service.ini.example +++ b/scripts/store-service/store_service.ini.example @@ -9,6 +9,10 @@ serve_webapp = off ; the webapp is written here at boot with the publishable key injected; compose bind-mounts it to a ; host path Caddy serves. Unset it when serve_webapp = on. webapp_export_dir = /srv/webapp +; the names site (simplex.domains): its build in the image and the folder it is exported to, which +; compose bind-mounts to ./names for Caddy. Set both once the image carries the names build. +;names_static_dir = /srv/names +;names_export_dir = /srv/names-export ; on because Caddy proxies /api and /webhooks to this service; without it the rate limiter keys on ; Caddy's address and shares one bucket across all callers trust_forwarded_for = on