Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
6df0dcb6
Commit
6df0dcb6
authored
Apr 27, 2020
by
tong.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redash
parent
f5ba7444
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
0 deletions
+51
-0
Dockerfile
tke/redash/Dockerfile
+2
-0
docker-compose.yml
tke/redash/docker-compose.yml
+49
-0
No files found.
tke/redash/Dockerfile
0 → 100644
View file @
6df0dcb6
FROM
redash/redash:latest
COPY
./docker-compose.yml /app
tke/redash/docker-compose.yml
0 → 100644
View file @
6df0dcb6
# This configuration file is for the **development** setup.
# For a production example please refer to setup/docker-compose.yml.
version
:
'
3.2'
services
:
server
:
build
:
.
command
:
dev_server
depends_on
:
-
postgres
-
redis
ports
:
-
"
5000:5000"
-
"
5678:5678"
volumes
:
-
"
.:/app"
environment
:
PYTHONUNBUFFERED
:
0
REDASH_LOG_LEVEL
:
"
INFO"
REDASH_REDIS_URL
:
"
redis://${REDIS_SERVICE_HOST}:${REDIS_SERVICE_PORT_6379}/0"
REDASH_DATABASE_URL
:
"
postgresql://postgres@postgres/postgres"
REDASH_RATELIMIT_ENABLED
:
"
false"
worker
:
build
:
.
command
:
dev_worker
volumes
:
-
type
:
bind
source
:
.
target
:
/app
depends_on
:
-
server
environment
:
PYTHONUNBUFFERED
:
0
REDASH_LOG_LEVEL
:
"
INFO"
REDASH_REDIS_URL
:
"
redis://${REDIS_SERVICE_HOST}:${REDIS_SERVICE_PORT_6379}/0"
REDASH_DATABASE_URL
:
"
postgresql://postgres@postgres/postgres"
QUEUES
:
"
queries,scheduled_queries,celery,schemas"
WORKERS_COUNT
:
2
redis
:
image
:
redis:3-alpine
restart
:
unless-stopped
postgres
:
image
:
postgres:9.5-alpine
# The following turns the DB into less durable, but gains significant performance improvements for the tests run (x3
# improvement on my personal machine). We should consider moving this into a dedicated Docker Compose configuration for
# tests.
ports
:
-
"
15432:5432"
command
:
"
postgres
-c
fsync=off
-c
full_page_writes=off
-c
synchronous_commit=OFF"
restart
:
unless-stopped
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment