2021-04-05 18:47:34 +03:00
|
|
|
services:
|
2022-08-23 15:59:09 +03:00
|
|
|
leon:
|
|
|
|
container_name: 'leon'
|
2021-04-05 18:47:34 +03:00
|
|
|
build:
|
|
|
|
context: './'
|
2022-08-23 15:59:09 +03:00
|
|
|
image: 'leon-ai/leon'
|
2021-04-28 07:01:26 +03:00
|
|
|
environment:
|
|
|
|
LEON_PORT: ${LEON_PORT:-1337}
|
2022-08-23 15:59:09 +03:00
|
|
|
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}
|
2021-04-05 18:47:34 +03:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|
|
|
|
command: 'npm run dev:server && npm run dev:app'
|
|
|
|
volumes:
|
2022-10-13 23:59:39 +03:00
|
|
|
- './:/home/docker/leon'
|
|
|
|
- '/home/docker/leon/node_modules'
|
2022-08-23 15:59:09 +03:00
|
|
|
network_mode: 'host'
|