mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
* Moved configuration to `.circleci/config.yml` as the documentation for V2 suggests. * Created a dedicated Docker Compose configuration (in `.circleci/docker-compose.yml`) to remove volumes configuration as this is not supported with CircleCI's Docker executer. * Fix the Docker image build and tarball packing jobs to work and use correct version.
23 lines
569 B
YAML
23 lines
569 B
YAML
version: '2'
|
|
services:
|
|
redash:
|
|
build: ../
|
|
command: manage version
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
PYTHONUNBUFFERED: 0
|
|
REDASH_LOG_LEVEL: "INFO"
|
|
REDASH_REDIS_URL: "redis://redis:6379/0"
|
|
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
|
|
redis:
|
|
image: redis:3.0-alpine
|
|
restart: unless-stopped
|
|
postgres:
|
|
image: postgres:9.5.6-alpine
|
|
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
|
|
restart: unless-stopped
|