21 lines
404 B
YAML
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
|