GLMPilot / docker-compose.yml
E5K7's picture
Initial commit: Rebranded to GLMPilot and migrated to GLM-5 API
c2c8c8d
version: '3.8'
services:
server:
build:
context: .
dockerfile: packages/server/Dockerfile
ports:
- "3001:3001"
environment:
- NODE_ENV=production
- PORT=3001
- REDIS_URL=redis://redis:6379
- GLM_API_KEY=${GLM_API_KEY}
- GITHUB_TOKEN=${GITHUB_TOKEN}
- CLIENT_URL=http://localhost:5173
depends_on:
- redis
volumes:
- ./packages/server:/app/packages/server
- ./packages/shared:/app/packages/shared
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
- redis-data:/data
client:
build:
context: .
dockerfile: packages/client/Dockerfile
ports:
- "5173:5173"
environment:
- VITE_API_URL=http://localhost:3001
- VITE_WS_URL=ws://localhost:3001
volumes:
- ./packages/client:/app/packages/client
- ./packages/shared:/app/packages/shared
volumes:
redis-data: