From 8eb751f0c3daf83be218da993c4ec74b8f1181a6 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Wed, 6 Mar 2019 07:49:35 +0100 Subject: [PATCH] Remove docker-compose.production.yml in favor of setup/docker-compose.yml. (#3533) Fix #3251. --- docker-compose.production.yml | 52 ----------------------------------- docker-compose.yml | 4 +-- 2 files changed, 2 insertions(+), 54 deletions(-) delete mode 100644 docker-compose.production.yml diff --git a/docker-compose.production.yml b/docker-compose.production.yml deleted file mode 100644 index f7557ae94f..0000000000 --- a/docker-compose.production.yml +++ /dev/null @@ -1,52 +0,0 @@ -# This is an example configuration for Docker Compose. Make sure to atleast update -# the cookie secret & postgres database password. -# -# Some other recommendations: -# 1. To persist Postgres data, assign it a volume host location. -# 2. Split the worker service to adhoc workers and scheduled queries workers. -version: '2' -services: - server: - image: redash/redash:latest - command: server - 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" - REDASH_COOKIE_SECRET: veryverysecret - REDASH_WEB_WORKERS: 4 - restart: always - worker: - image: redash/redash:latest - command: scheduler - environment: - PYTHONUNBUFFERED: 0 - REDASH_LOG_LEVEL: "INFO" - REDASH_REDIS_URL: "redis://redis:6379/0" - REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres" - QUEUES: "queries,scheduled_queries,celery,schemas" - WORKERS_COUNT: 2 - restart: always - redis: - image: redis:3.0-alpine - restart: always - postgres: - image: postgres:9.5.6-alpine - # volumes: - # - /opt/postgres-data:/var/lib/postgresql/data - restart: always - nginx: - image: redash/nginx:latest - ports: - - "80:80" - depends_on: - - server - links: - - server:redash - restart: always diff --git a/docker-compose.yml b/docker-compose.yml index 85786e029d..42308e6b71 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,5 @@ -# This configuration file is for **development** setup. For production, refer to -# docker-compose.production.yml. +# This configuration file is for the **development** setup. +# For a production example please refer to setup/docker-compose.yml. version: '3' services: server: