-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.exemple
More file actions
28 lines (21 loc) · 782 Bytes
/
Copy path.env.exemple
File metadata and controls
28 lines (21 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
##############################
# Command Keeper (.env) sample
##############################
# Ports exposés sur la machine hôte
FRONTEND_PORT=2000
BACKEND_PORT=2001
# Frontend (Vite)
# Si vide, le frontend appelle l'API en same-origin (via le proxy Vite)
VITE_API_URL=
# Cible du proxy Vite (résolue depuis le conteneur frontend)
VITE_PROXY_TARGET=http://backend:8000
# Backend
# Recommandé pour persister la DB sur le volume docker `backend_data`:
DATABASE_URL=sqlite:////data/commandkeeper.db
# Autorise le frontend (hôte) à appeler l'API
CORS_ORIGINS=http://localhost:2000,http://127.0.0.1:2000
# IMPORTANT: à changer en prod
SECRET_KEY=change-me-in-production
# Compte admin par défaut (1ère connexion)
DEFAULT_ADMIN_USERNAME=admin
DEFAULT_ADMIN_PASSWORD=admin