event sync

This commit is contained in:
unexpected 2025-10-15 17:01:42 +00:00
parent 817e6c1371
commit 87a5e1c656
1 changed files with 23 additions and 0 deletions

View File

@ -171,6 +171,29 @@ services:
restart: unless-stopped
networks: [mynet]
backend-events-sync:
image: ${BACKEND_IMAGE:-uploader-bot:latest}
command: python -m app events_sync
env_file:
- ./.env
environment:
- NODE_ROLE=worker
depends_on:
uploader-bot-image:
condition: service_completed_successfully
db:
condition: service_healthy
backend-app:
condition: service_healthy
ipfs:
condition: service_started
volumes:
- ${BACKEND_LOGS_DIR_HOST:-./app-logs}:/app/logs
- ${BACKEND_DATA_DIR_HOST:-./dynamicStorage}:/app/data
- ${TUSD_DATA_DIR_HOST:-./data/tusd}:/data
restart: unless-stopped
networks: [mynet]
backend-convert-process:
image: ${BACKEND_IMAGE:-uploader-bot:latest}
command: python -m app convert_process