fix: update app port to 3024 in docker-compose.yml and vite.config.ts

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-27 15:58:41 -04:00
parent 81e2a7828f
commit 28229d8d69
2 changed files with 5 additions and 5 deletions

View File

@@ -3,9 +3,9 @@ services:
build: ./app
working_dir: /app
ports:
- "${APP_PORT:-3023}:3023"
- "${APP_PORT:-3024}:3024"
environment:
- APP_PORT=3023
- APP_PORT=3024
- NODE_ENV=${NODE_ENV:-development}
- DB_PATH=/var/lib/charactergarden/app.db
- OLLAMA_URL=${OLLAMA_URL:-http://ollama:11434}

View File

@@ -4,16 +4,16 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
allowedHosts: ["beepc"],
allowedHosts: ["beepc","cg.sketchferret.com"],
host: "0.0.0.0",
port: 5173,
proxy: {
"/api": {
target: "http://app:3000",
target: "http://app:3024",
changeOrigin: true,
},
"/health": {
target: "http://app:3000",
target: "http://app:3024",
changeOrigin: true,
},
},