Fix engine daemon exit and UI DuckDB access
All checks were successful
CI/CD Pipeline / test (push) Successful in 1m43s
CI/CD Pipeline / build-engine (push) Has been skipped
CI/CD Pipeline / build-ui (push) Has been skipped

- Add if __name__ == '__main__' guard to main.py (engine exited immediately)
- Update Dockerfile TA-Lib build for ARM64 (config.guess/config.sub)
- Add redis dependency to pyproject.toml
- Add docker-compose.override.yml for local dev with source mounting
- Remove :ro from UI engine volume mount (DuckDB needs write for WAL)
This commit is contained in:
bnair123
2025-12-27 23:27:33 +04:00
parent 2f065df1e9
commit 007633660c
4 changed files with 45 additions and 7 deletions

View File

@@ -11,12 +11,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
wget \
curl \
dpkg-dev \
&& rm -rf /var/lib/apt/lists/*
# Install TA-Lib C library
# Install TA-Lib C library (with ARM64 support)
RUN wget -q http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz \
&& tar -xzf ta-lib-0.4.0-src.tar.gz \
&& cd ta-lib \
&& wget -q -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' \
&& wget -q -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' \
&& ./configure --prefix=/usr \
&& make \
&& make install \