Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,24 @@ services:
- "./specifyweb/frontend/js_src/lib:/home/node/lib:ro"
- "./specifyweb/frontend/js_src/css:/home/node/css:ro"

redis:
image: redis
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 2s
retries: 5

specify7-worker:
build:
context: ./.
target: run-development
command: bash -c "ve/bin/celery -A specifyweb worker -l INFO --concurrency=1 -Q $DATABASE_NAME"
depends_on:
redis:
condition: service_healthy
init: true
volumes:
- "./config:/opt/Specify/config:ro"
Expand All @@ -77,9 +90,6 @@ services:
- "host.docker.internal:host-gateway"
env_file: .env

redis:
image: redis

asset-server:
image: specifyconsortium/specify-asset-service
init: true
Expand Down
Loading