mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Définir les variables VITE_* (vide)
Vite est censé ne pas les changer par un .env.* (selon copilot)
This commit is contained in:
parent
ec2f6cc358
commit
7c5c6739fa
1 changed files with 5 additions and 4 deletions
|
|
@ -3,12 +3,13 @@ services:
|
||||||
frontend:
|
frontend:
|
||||||
image: fuhrmanator/evaluetonsavoir-frontend:latest
|
image: fuhrmanator/evaluetonsavoir-frontend:latest
|
||||||
container_name: frontend
|
container_name: frontend
|
||||||
|
environment:
|
||||||
|
# Define empty VITE_BACKEND_URL because it's production
|
||||||
|
- VITE_BACKEND_URL=
|
||||||
|
# Define empty VITE_BACKEND_SOCKET_URL so it will default to window.location.host
|
||||||
|
- VITE_BACKEND_SOCKET_URL=
|
||||||
ports:
|
ports:
|
||||||
- "5173:5173"
|
- "5173:5173"
|
||||||
environment:
|
|
||||||
VITE_BACKEND_URL: "http://localhost:4400"
|
|
||||||
# don't define VITE_BACKEND_SOCKET_URL so it will default to window.location.host
|
|
||||||
# VITE_BACKEND_SOCKET_URL: ""
|
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue