1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-10 15:19:18 +03:00
leon/docker-compose.dev.yml

18 lines
484 B
YAML

services:
leon:
container_name: 'leon'
build:
context: './'
image: 'leon-ai/leon'
environment:
LEON_PORT: ${LEON_PORT:-1337}
LEON_PY_TCP_SERVER_HOST: ${LEON_PY_TCP_SERVER_HOST:-0.0.0.0}
LEON_PY_TCP_SERVER_PORT: ${LEON_PY_TCP_SERVER_PORT:-1342}
stdin_open: true
tty: true
command: 'npm run dev:server && npm run dev:app'
volumes:
- './:/home/docker/leon'
- '/home/docker/leon/node_modules'
network_mode: 'host'