fix(deploy): ensure /root/.pry dir and volume exist for SQLite migrations #7

Merged
cryptorugmunch merged 2 commits from fix/alembic-deploy-runtime into main 2026-07-03 02:46:17 +02:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 72c023018b - Show all commits

View file

@ -41,7 +41,7 @@ COPY routers/ ./routers/
COPY llm_providers/ ./llm_providers/
COPY stealth_scripts/ ./stealth_scripts/
COPY templates/ ./templates/
RUN mkdir -p /app/sessions
RUN mkdir -p /app/sessions /root/.pry
EXPOSE 8002
HEALTHCHECK --interval=15s --timeout=5s --start-period=10s --retries=3 \

View file

@ -10,7 +10,9 @@ services:
ports:
- "127.0.0.1:8005:8002"
volumes:
- pry-data:/root/.pry
- pry-sessions:/app/sessions
env_file: .env
environment:
- PYTHONUNBUFFERED=1
- PRY_TIMEOUT=60
@ -44,7 +46,7 @@ services:
container_name: pry-flaresolverr
restart: unless-stopped
ports:
- "127.0.0.1:8191:8191"
- "127.0.0.1:8192:8191"
environment:
- LOG_LEVEL=info
- CAPTCHA_SOLVER=none
@ -76,4 +78,5 @@ services:
- tor
volumes:
pry-data:
pry-sessions: