fix: change ports to 3600/3610 for remote access

- frontend: 3000 → 3600
- backend: 8000 → 3610
- update vite.config.ts proxy
- update README.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-03-24 15:44:43 +08:00
parent 8c0a301e68
commit 2d786882eb
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -42,9 +42,9 @@ A full-stack image generation website with user authentication, prompt optimizat
docker-compose up -d
```
- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Docs: http://localhost:8000/docs
- Frontend: http://localhost:3600
- Backend API: http://localhost:3610
- API Docs: http://localhost:3610/docs
## Development
+2 -2
View File
@@ -4,7 +4,7 @@ services:
backend:
build: ./backend
ports:
- "8000:8000"
- "3610:8000"
environment:
- DATABASE_URL=postgresql://user:pass@db:5432/imagecreator
- SECRET_KEY=change-this-secret-key-in-production
@@ -19,7 +19,7 @@ services:
frontend:
build: ./frontend
ports:
- "3000:80"
- "3600:80"
depends_on:
- backend
+2 -2
View File
@@ -8,11 +8,11 @@ export default defineConfig({
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8000',
target: 'http://localhost:3610',
changeOrigin: true
},
'/uploads': {
target: 'http://localhost:8000',
target: 'http://localhost:3610',
changeOrigin: true
}
}