scripts: mount the names site export

This commit is contained in:
shum committed 2026-10-22 04:55:02 +00:00
1 parent 7bbcefd327
commit 462181e1d9
2 files changed
+5

No files matched your search

+1
View File
@@ -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
@@ -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