Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- x-redash-service: &redash-service
- image: redash/redash:7.0.0.b18042
- depends_on:
- - postgres
- - redis
- env_file: /srv/containers/redash/env
- restart: always
- services:
- server:
- <<: *redash-service
- command: server
- ports:
- - "5000:5000"
- environment:
- REDASH_WEB_WORKERS: 4
- scheduler:
- <<: *redash-service
- command: scheduler
- environment:
- QUEUES: "celery"
- WORKERS_COUNT: 1
- scheduled_worker:
- <<: *redash-service
- command: worker
- environment:
- QUEUES: "scheduled_queries,schemas"
- WORKERS_COUNT: 1
- adhoc_worker:
- <<: *redash-service
- command: worker
- environment:
- QUEUES: "queries"
- WORKERS_COUNT: 2
- redis:
- image: redis:5.0-alpine
- restart: always
- postgres:
- image: postgres:9.5-alpine
- env_file: /srv/containers/redash/env
- volumes:
- - /srv/containers/redash/postgres-data:/var/lib/postgresql/data
- restart: always
- #No nginx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement