You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .env.example
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,12 +16,12 @@ VITE_SERVER_PORT=5173 # dev server port
16
16
# Values used by `docker-compose.dev.yml`. Compose will substitute ${VAR} from the
17
17
# project `.env` or the shell environment when you run `docker compose`.
18
18
VITE_APP_VERSION=development
19
-
VITE_BACKEND_URL=http://host.docker.internal:8080# backend API URL used by the frontend inside the container (host.docker.internal points to the host machine)
19
+
VITE_BACKEND_URL=http://host.docker.internal:8080# backend API URL used by the frontend inside the container (resolved via Compose host mapping)
20
20
VITE_SERVER_PORT=5173# dev server port inside the container
21
21
DOCKER_HOST_PORT=5173# port on the host machine mapped to the container's VITE_SERVER_PORT (for browser access)
22
22
23
23
########## Production (nginx) ##########
24
24
# Values used at container runtime by nginx to proxy /api/
25
-
NGINX_BACKEND_URL=http://host.docker.internal:8080/# backend API URL used by nginx inside the container (host.docker.internal points to the host machine)
25
+
NGINX_BACKEND_URL=http://host.docker.internal:8080/# backend API URL used by nginx inside the container (resolved via Compose host mapping)
26
26
NGINX_SERVER_PORT=8081# port nginx listens on inside the container
27
27
DOCKER_HOST_PORT=8081# port on the host machine mapped to the container's NGINX_SERVER_PORT (for browser access)
0 commit comments