Skip to content
Snippets Groups Projects
Commit 2edf73c7 authored by Steffen Stricker's avatar Steffen Stricker
Browse files

Add new file

parent 18f7042c
No related branches found
No related tags found
No related merge requests found
Pipeline #912930 failed
services:
database:
image: postgres:15.1-alpine
restart: unless-stopped
environment:
- POSTGRES_DB=${POSTGRES_DATABASE}
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- ./db/production:/var/lib/postgresql/data
redis_db:
image: redis:7-alpine
restart: unless-stopped
command: redis-server --requirepass ${REDIS_PASSWORD}
scheduler:
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
ports:
- 8000:8000
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
beat:
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
entrypoint: celery
command: -A scheduler.worker beat -l info --scheduler celery_sqlalchemy_scheduler.schedulers:DatabaseScheduler
depends_on:
- database
- redis_db
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
worker:
image: registry.git.rwth-aachen.de/polaris/entwicklung/analytics-engine/scheduler:latest
restart: unless-stopped
entrypoint: celery
command: -A scheduler.worker worker -l info
depends_on:
- database
- redis_db
- beat
volumes:
- ".env:/app/.env"
- "./configuration:/app/configuration"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment