feat(olhar): compose unifié db + api + pwa, suppression olhar-api

- olhar/docker-compose.yml : fusion des services db (postgres:16) +
  api (olhar-api:latest) + pwa (olhar-pwa:latest) dans un seul stack
- olhar/.env.example : POSTGRES_PASSWORD + JWT_SECRET
- olhar-api/ : dossier supprimé (contenu intégré dans olhar/)
- Données migrées vers ~/Applications/data/olhar/ (au lieu de olhar-api/)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-08 07:06:02 +02:00
parent 7f6d6a7aaf
commit c65ffaa15a
4 changed files with 61 additions and 66 deletions
+9
View File
@@ -0,0 +1,9 @@
# Copier ce fichier en .env et définir des valeurs sécurisées avant de démarrer.
# cp .env.example .env
# Mot de passe PostgreSQL partagé entre le container db et l'API Spring Boot.
POSTGRES_PASSWORD=changeme
# Secret JWT utilisé pour signer les tokens d'authentification.
# Générer une valeur forte : openssl rand -hex 32
JWT_SECRET=changeme-in-production-use-a-long-random-string-at-least-256-bits