-
-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Running the latest version on postgresql, and the following appears in the celery logs in docker:
[journiv-celery-worker] 2026-03-03T14:11:51.798900294Z Seeding initial data in entrypoint script...
[journiv-celery-worker] 2026-03-03T14:11:56.821082747Z Executing custom command: celery -A app.core.celery_app worker --loglevel=info
[journiv-celery-worker] 2026-03-03T14:11:56.822424338Z /app/scripts/docker-entrypoint.sh: 35: exec: celery: Permission denied
Running postgresql externally, but here's a snippet of my compose.yaml for celery:
celery-worker:
--
image: swalabtech/journiv-app:${APP_VERSION:-latest}
container_name: journiv-celery-worker
command: celery -A app.core.celery_app worker --loglevel=info
env_file:
- .env
environment:
# Docker-specific: service names
- DB_DRIVER=postgres
- POSTGRES_HOST=10.150.88.57
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-}
- REDIS_URL=redis://redis:6379/0
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/0
volumes:
- app_data:/data
depends_on:
# postgres:
# condition: service_healthy
redis:
condition: service_healthy
networks:
- backend
restart: unless-stopped
cpus: "1.0"
mem_limit: 1g
mem_reservation: 256m
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "5"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done