Files
ws.tootaio.com/docker-compose.yml
2025-10-07 11:59:55 +08:00

21 lines
404 B
YAML

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