worling demo setup
This commit is contained in:
@ -1,16 +1,22 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
node-app:
|
||||
container_name: node-voice-chat
|
||||
build:
|
||||
context: .
|
||||
dockerfile: web/deploy/demo.Dockerfile
|
||||
ports:
|
||||
- "28880:8080"
|
||||
- "28881:8081"
|
||||
chat-server:
|
||||
image: node:20-alpine
|
||||
container_name: ml-voice-chat-server
|
||||
working_dir: /usr/src/app
|
||||
volumes:
|
||||
- .:/usr/src/app # Mounts the current directory to /usr/src/app in the container
|
||||
- /mnt/apps/DEV/REPOS/git.d-popov.com/ai-kevin:/usr/src/app
|
||||
command: >
|
||||
sh -c "npm install && node web/chat-server.js"
|
||||
environment:
|
||||
NODE_ENV: demo # Sets the environment variable NODE_ENV to development
|
||||
command: npm run start:demo-chat # Runs npm start when the container starts
|
||||
NODE_ENV: demo
|
||||
#TTS_BACKEND_URL: https://api.tts.d-popov.com/asr
|
||||
TTS_API_URL: http://192.168.0.11:9009/asr
|
||||
WS_URL: wss://ws.tts.d-popov.com
|
||||
SERVER_PORT_HTTP: 8080
|
||||
SERVER_PORT_WS: 8082
|
||||
ports:
|
||||
- 28080:8080
|
||||
- 28081:8082
|
||||
dns:
|
||||
- 8.8.8.8
|
||||
- 8.8.4.4
|
Reference in New Issue
Block a user