c65ffaa15a
- 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>
10 lines
412 B
Bash
10 lines
412 B
Bash
# 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
|