We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcadb20 commit 7c269bdCopy full SHA for 7c269bd
docker-compose.dev.yml
@@ -62,8 +62,9 @@ services:
62
image: node:20
63
pull_policy: always
64
working_dir: /var/www/html
65
- # environment:
66
- # VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
+ environment:
+ VITE_HOST: "${VITE_HOST:-localhost}"
67
+ VITE_PORT: "${VITE_PORT:-5173}"
68
ports:
69
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
70
volumes:
vite.config.js
@@ -21,7 +21,7 @@ export default defineConfig({
21
clientPort: 443,
22
}
23
: {
24
- host: "localhost",
+ host: process.env.VITE_HOST,
25
},
26
27
plugins: [
0 commit comments