1. add python/pyproject.common.toml with module definitions; 2. add meson/online/.../archlinux/ with meson.build, m.py, pyproject.common.toml; 3. meson.build uses fs.relative_to for python sources from ../../python/; 4. m.py is cli_bootstrap.py copy with last 5 lines patched for paths; 5. update Makefile with python_put_archlinux_venv rule; 6. rename python/pyproject.toml to pyproject.toml.bak; 7. update .gitignore, docker-compose.local.yml, requirements.txt;
46 lines
893 B
YAML
46 lines
893 B
YAML
version: '3.7'
|
|
|
|
|
|
x-json-logging: &json-logging
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: 10m
|
|
max-file: "3"
|
|
|
|
x-resources-normal: &resources-normal
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '1'
|
|
memory: 2GB
|
|
|
|
x-resources-small: &resources-small
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 1GB
|
|
|
|
x-resources-micro: &resources-micro
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.25'
|
|
memory: 128M
|
|
|
|
services:
|
|
llm:
|
|
<<: *resources-normal
|
|
# image: archlinux@sha256:19f09c502102d6d249f4e15667144cab1b8a195d9a549996774a665f582bea99
|
|
image: online.fxreader.pr34.claude.v1:v0.2
|
|
command: ['sh', '-c', 'while true; do sleep 1; done']
|
|
init: true
|
|
volumes:
|
|
- ./:/app:rw
|
|
- online.fxreader.pr34.claude.v1:/mnt/online.fxreader.pr34.claude
|
|
|
|
|
|
volumes:
|
|
online.fxreader.pr34.claude.v1:
|