event sync
This commit is contained in:
parent
817e6c1371
commit
87a5e1c656
|
|
@ -171,6 +171,29 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks: [mynet]
|
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:
|
backend-convert-process:
|
||||||
image: ${BACKEND_IMAGE:-uploader-bot:latest}
|
image: ${BACKEND_IMAGE:-uploader-bot:latest}
|
||||||
command: python -m app convert_process
|
command: python -m app convert_process
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue