Compare commits
3 Commits
3112b6e9fe
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 28229d8d69 | |||
| 81e2a7828f | |||
| b4a2968399 |
@@ -3,9 +3,9 @@ services:
|
|||||||
build: ./app
|
build: ./app
|
||||||
working_dir: /app
|
working_dir: /app
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-3023}:3023"
|
- "${APP_PORT:-3024}:3024"
|
||||||
environment:
|
environment:
|
||||||
- APP_PORT=3023
|
- APP_PORT=3024
|
||||||
- NODE_ENV=${NODE_ENV:-development}
|
- NODE_ENV=${NODE_ENV:-development}
|
||||||
- DB_PATH=/var/lib/charactergarden/app.db
|
- DB_PATH=/var/lib/charactergarden/app.db
|
||||||
- OLLAMA_URL=${OLLAMA_URL:-http://ollama:11434}
|
- OLLAMA_URL=${OLLAMA_URL:-http://ollama:11434}
|
||||||
|
|||||||
@@ -4,16 +4,16 @@ import react from "@vitejs/plugin-react";
|
|||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
server: {
|
server: {
|
||||||
allowedHosts: "all",
|
allowedHosts: ["beepc","cg.sketchferret.com"],
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
port: 5173,
|
port: 5173,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: "http://app:3000",
|
target: "http://app:3024",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
"/health": {
|
"/health": {
|
||||||
target: "http://app:3000",
|
target: "http://app:3024",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user