initial commit

This commit is contained in:
xiaomai
2025-10-07 11:59:55 +08:00
commit 03776ee64a
9 changed files with 468 additions and 0 deletions

20
docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
services:
websocket:
build: ./server
container_name: my_websocket
ports:
- "8080:8080"
environment:
- REDIS_HOST=${REDIS_HOST}
- REDIS_PORT=${REDIS_PORT}
- REDIS_PASSWORD=${REDIS_PASSWORD}
volumes:
- ./server:/app
- /app/node_modules
command: node index.js
networks:
- 1panel-network
networks:
1panel-network:
external: true