chore: refresh opening hours from Google every 24 hours

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-04 16:25:57 +01:00
co-authored by Claude Opus 5.5
parent 0bce333173
commit 2ca29efd73
5 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -17,14 +17,14 @@ services:
orari:
# Legge gli orari dalla scheda Google Business Profile (Places API) ogni
# 6 ore e li scrive in orari.json (ADR 0005). La chiave sta solo nel .env
# 24 ore e li scrive in orari.json (ADR 0005). La chiave sta solo nel .env
# del server, copiato da deploy.sh a partire da .env.server locale.
image: node:22-alpine
container_name: officinezuliani-orari
restart: always
env_file:
- .env
command: ["node", "/app/orari-google.mjs", "--out", "/dati/orari.json", "--ogni", "6"]
command: ["node", "/app/orari-google.mjs", "--out", "/dati/orari.json", "--ogni", "24"]
volumes:
- ./scripts:/app:ro
- orari-dati:/dati